Conform to pep8
This commit is contained in:
parent
b44c707e94
commit
b1890f50b6
|
@ -143,7 +143,8 @@ class Request(dict):
|
|||
@property
|
||||
def ip(self):
|
||||
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
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue
Block a user