Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix errno accessor

  • Loading branch information...
commit f2ce7466f09ecaf8f2775dc9117be9ca09f09b0b 1 parent 365efba
conferno conferno authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  tornado/ioloop.py
2  tornado/ioloop.py
@@ -184,7 +184,7 @@ def start(self):
184 184 try:
185 185 event_pairs = self._impl.poll(poll_timeout)
186 186 except Exception, e:
187   - if e.errno == errno.EINTR:
  187 + if e[0] == errno.EINTR:
188 188 logging.warning("Interrupted system call", exc_info=1)
189 189 continue
190 190 else:

0 comments on commit f2ce746

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