Silly mistake caught by continuous build.

This commit is contained in:
Ryan Williams
2010-02-09 18:24:43 -08:00
parent 4d8935cca2
commit 5c5fffe5ff

View File

@@ -15,7 +15,7 @@ class Hub(BaseHub):
""" Iterate through fds, removing the ones that are bad per the
operating system.
"""
for fd in self.readers.keys() + self.writers.keys():
for fd in self.listeners[READ].keys() + self.listeners[WRITE].keys():
try:
select.select([fd], [], [], 0)
except select.error, e: