From c75200585637afc58a0d8213eb5fcf8bb09c6a48 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Mon, 15 Oct 2018 16:34:25 -0700 Subject: [PATCH] CloudflareProvider._hash_data is no longer used --- octodns/provider/cloudflare.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/octodns/provider/cloudflare.py b/octodns/provider/cloudflare.py index d008084..6a42668 100644 --- a/octodns/provider/cloudflare.py +++ b/octodns/provider/cloudflare.py @@ -7,7 +7,6 @@ from __future__ import absolute_import, division, print_function, \ from collections import defaultdict from logging import getLogger -from json import dumps from requests import Session from ..record import Record, Update @@ -348,11 +347,6 @@ class CloudflareProvider(BaseProvider): for content in self._gen_data(new): self._request('POST', path, data=content) - def _hash_data(self, data): - # Some of the dicts are nested so this seems about as good as any - # option we have for consistently hashing them (within a single run) - return hash(dumps(data, sort_keys=True)) - def _apply_Update(self, change): # Note that all CF records have a `content` field the value of which # appears to be a unique/hashable string for the record's. It includes