Browse Source

CloudflareProvider._hash_data is no longer used

pull/277/head
Ross McFarland 7 years ago
parent
commit
c752005856
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      octodns/provider/cloudflare.py

+ 0
- 6
octodns/provider/cloudflare.py View File

@ -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


Loading…
Cancel
Save