Commit c6ac9222 authored by Martín Ferrari's avatar Martín Ferrari

Fix error when handling EINTR

parent 0157c0f1
......@@ -141,6 +141,7 @@ class Server(object):
try:
line = self._rfd.readline()
except IOError, e:
line = None
if e.errno != errno.EINTR:
raise
break
......
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