Permalink
Browse files

fix errno accessor

  • Loading branch information...
1 parent 365efba commit f2ce7466f09ecaf8f2775dc9117be9ca09f09b0b @conferno conferno committed Mar 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornado/ioloop.py
View
2 tornado/ioloop.py
@@ -184,7 +184,7 @@ def start(self):
try:
event_pairs = self._impl.poll(poll_timeout)
except Exception, e:
- if e.errno == errno.EINTR:
+ if e[0] == errno.EINTR:
logging.warning("Interrupted system call", exc_info=1)
continue
else:

0 comments on commit f2ce746

Please sign in to comment.