server/cwzmq.py
changeset 10662 10942ed172de
parent 10236 ef3059a692cb
--- a/server/cwzmq.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/server/cwzmq.py	Tue Sep 15 16:15:03 2015 +0200
@@ -65,7 +65,7 @@
 
     def add_subscriber(self, address):
         subscriber = Subscriber(self.ioloop, address)
-        for topic, callback in self._topics.iteritems():
+        for topic, callback in self._topics.items():
             subscriber.subscribe(topic, callback)
         self._subscribers.append(subscriber)