server/hook.py
changeset 10662 10942ed172de
parent 10589 7c23b7de2b8d
child 10663 54b8a1f249fb
--- a/server/hook.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/server/hook.py	Tue Sep 15 16:15:03 2015 +0200
@@ -372,7 +372,7 @@
         pruned = set()
         cnx.pruned_hooks_cache[cache_key] = pruned
         if look_for_selector is not None:
-            for id, hooks in self.iteritems():
+            for id, hooks in self.items():
                 for hook in hooks:
                     enabled_cat, main_filter = hook.filterable_selectors()
                     if enabled_cat is not None: