Fixing lint error

This commit is contained in:
Chris Reeves 2015-07-10 11:50:03 +01:00 committed by rallytime
parent 68fef7a976
commit 49becde5ea

View File

@ -151,7 +151,7 @@ def present(
# Example: https://user:****@my.endpoiint.com/foo/bar # Example: https://user:****@my.endpoiint.com/foo/bar
_endpoint = subscription['endpoint'] _endpoint = subscription['endpoint']
matches = re.search( matches = re.search(
'https://(?P<user>\w+):(?P<pass>\w+)@', r'https://(?P<user>\w+):(?P<pass>\w+)@',
_endpoint) _endpoint)
# We are using https and have auth creds - the password will be starred out, # We are using https and have auth creds - the password will be starred out,