Fix whitespace to conform to our linting tests
I completely missed those two.
Fixes: 24d283cfdb
This commit is contained in:
@@ -90,7 +90,7 @@ def backdoor_server(sock, locals=None):
|
||||
"""
|
||||
listening_on = sock.getsockname()
|
||||
if sock.family == socket.AF_INET:
|
||||
#Expand result to IP + port
|
||||
# Expand result to IP + port
|
||||
listening_on = '%s:%s' % listening_on
|
||||
elif sock.family == socket.AF_INET6:
|
||||
ip, port, _, _ = listening_on
|
||||
|
@@ -38,7 +38,7 @@ class BackdoorTest(LimitedTestCase):
|
||||
|
||||
def test_server_on_ipv6_socket(self):
|
||||
listener = socket.socket(socket.AF_INET6)
|
||||
listener.bind(('::1',0))
|
||||
listener.bind(('::1', 0))
|
||||
listener.listen(5)
|
||||
serv = eventlet.spawn(backdoor.backdoor_server, listener)
|
||||
client = socket.socket(socket.AF_INET6)
|
||||
|
Reference in New Issue
Block a user