Remove redundant else

This commit is contained in:
Eli Uriegas 2017-01-16 17:51:56 -06:00 committed by GitHub
parent 213580ea78
commit 5c344f7efa

View File

@ -145,9 +145,7 @@ class Request(dict):
def ip(self):
if self._ip is None:
self._ip = self.transport.get_extra_info('peername')
return self._ip
else:
return self._ip
return self._ip
File = namedtuple('File', ['type', 'body', 'name'])