Skip to content
Snippets Groups Projects
Commit 30351613 authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent c42d9e98
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ if broker_scheme == 'sentinel':
broker_hostname = master[0]
broker_port = master[1]
if re.match('^[\d:]+$', broker_hostname):
if re.match(r'^[\d:]+$', broker_hostname):
# handle case where hostname is an ipv6 address
broker_hostname = '[%s]' % broker_hostname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment