]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Bug fix
authorBret Taylor <btaylor@gmail.com>
Wed, 30 Sep 2009 08:01:00 +0000 (01:01 -0700)
committerBret Taylor <btaylor@gmail.com>
Wed, 30 Sep 2009 08:01:00 +0000 (01:01 -0700)
tornado/ioloop.py

index 6c4b727f85d491412041f6bcaaa40197b0cccb2e..ad43ca756e6e9fd0ab0139e672b933044aa72dd8 100644 (file)
@@ -225,7 +225,7 @@ class IOLoop(object):
 
     def remove_callback(self, callback):
         """Removes the given callback from the next I/O loop iteration."""
-        self._callbacks.pop(callback)
+        self._callbacks.remove(callback)
 
     def _wake(self):
         try: