Commit d5614c3f authored by Denis Bilenko's avatar Denis Bilenko

remove unused local var

parent 1434aa3c
......@@ -272,8 +272,7 @@ class socket(object):
def recv(self, *args):
if self.timeout!=0.0:
wait_read(self.fileno(), timeout=self.timeout, timeout_exc=timeout)
res = self.fd.recv(*args)
return res
return self.fd.recv(*args)
def recvfrom(self, *args):
if self.timeout!=0.0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment