Conform to pep8
This commit is contained in:
parent
b44c707e94
commit
b1890f50b6
|
@ -143,7 +143,8 @@ class Request(dict):
|
||||||
@property
|
@property
|
||||||
def ip(self):
|
def ip(self):
|
||||||
if not hasattr(self, '_ip'):
|
if not hasattr(self, '_ip'):
|
||||||
self._ip = self.transport.get_extra_info('peername') or (None, None)
|
self._ip = (self.transport.get_extra_info('peername') or
|
||||||
|
(None, None))
|
||||||
return self._ip
|
return self._ip
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue
Block a user