1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

pycodestyle updates, mostly escaping \, couple r's, ignore break on binary

This commit is contained in:
Ross McFarland
2018-04-15 09:58:36 -07:00
parent b7955ac0df
commit 3ea78af8e1
14 changed files with 45 additions and 45 deletions

View File

@@ -45,7 +45,7 @@ class Zone(object):
self._records = defaultdict(set)
# optional leading . to match empty hostname
# optional trailing . b/c some sources don't have it on their fqdn
self._name_re = re.compile('\.?{}?$'.format(name))
self._name_re = re.compile(r'\.?{}?$'.format(name))
self.log.debug('__init__: zone=%s, sub_zones=%s', self, sub_zones)