Skip to content
Browse files

Merge remote branch 'mgenti/master'

  • Loading branch information...
2 parents 5f4413b + c33709a commit 794685b892fa0214cc9ed95f365d63979d2a11e1 Ben Darnell committed Apr 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornado/ioloop.py
View
2 tornado/ioloop.py
@@ -197,7 +197,7 @@ def start(self):
try:
event_pairs = self._impl.poll(poll_timeout)
except Exception, e:
- if e.errno == errno.EINTR:
+ if hasattr(e, 'errno') and e.errno == errno.EINTR:
_log.warning("Interrupted system call", exc_info=1)
continue
else:

0 comments on commit 794685b

Please sign in to comment.
Something went wrong with that request. Please try again.