Update Tornado

This commit is contained in:
Ruud
2013-11-22 16:08:54 +01:00
parent b8f78e311d
commit f53364eb6c
22 changed files with 703 additions and 164 deletions
+1 -2
View File
@@ -676,8 +676,7 @@ class PollIOLoop(IOLoop):
while self._events:
fd, events = self._events.popitem()
try:
if self._handlers.has_key(fd):
self._handlers[fd](fd, events)
self._handlers[fd](fd, events)
except (OSError, IOError) as e:
if e.args[0] == errno.EPIPE:
# Happens when the client closes the connection