mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Changed from string.replace to s.replace
This commit is contained in:
committed by
GitHub
parent
29598f2a5d
commit
6c07157bd3
@@ -22,12 +22,12 @@ from .base import BaseProvider
|
||||
|
||||
def escape_semicolon(s):
|
||||
assert s
|
||||
return string.replace(s, ';', '\\;')
|
||||
return s.replace(';', '\\;')
|
||||
|
||||
|
||||
def unescape_semicolon(s):
|
||||
assert s
|
||||
return string.replace(s, '\\;', ';')
|
||||
return s.replace('\\;', ';')
|
||||
|
||||
|
||||
class _AzureRecord(object):
|
||||
|
Reference in New Issue
Block a user