mirror of
https://github.com/openkmip/pykmip
synced 2025-12-19 09:43:47 +00:00
Remove invalid escape sequences
A recent style update to Python 3.6 adds deprecation W605, which tightens the usage of invalid escape sequences. This patch removes any instances of invalid escape sequences from the PyKMIP code base, bringing the library back up to compliance with Python style.
This commit is contained in:
@@ -41,7 +41,7 @@ if __name__ == '__main__':
|
||||
protocol_versions = list()
|
||||
if opts.protocol_versions is not None:
|
||||
for version in re.split(',| ', opts.protocol_versions):
|
||||
mm = re.split('\.', version)
|
||||
mm = re.split(r'\.', version)
|
||||
protocol_versions.append(ProtocolVersion(int(mm[0]), int(mm[1])))
|
||||
|
||||
# Build the client and connect to the server
|
||||
|
||||
Reference in New Issue
Block a user