pass flake8 tests

This commit is contained in:
Paul Jongsma 2016-11-10 13:09:37 +01:00
parent b92e46df40
commit 8ebc92c236

View File

@ -116,7 +116,7 @@ class HttpProtocol(asyncio.Protocol):
def on_headers_complete(self):
ra = self.transport.get_extra_info('peername')
if ra:
self.headers.append(('Remote-Addr','%s:%s' % ra))
self.headers.append(('Remote-Addr', '%s:%s' % ra))
self.request = Request(
url_bytes=self.url,