Fix whitespace to conform to our linting tests

I completely missed those two.

Fixes: 24d283cfdb
This commit is contained in:
Jakub Stasiak
2016-01-12 09:32:13 +01:00
parent 24d283cfdb
commit c603a8aad8
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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)