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

@@ -28,12 +28,12 @@ def remove_trailing_dot(s):
def escape_semicolon(s):
assert s
return string.replace(s, ';', '\;')
return string.replace(s, ';', '\\;')
def unescape_semicolon(s):
assert s
return string.replace(s, '\;', ';')
return string.replace(s, '\\;', ';')
class RackspaceProvider(BaseProvider):