server/hook.py
changeset 4025 de69adda0781
parent 4011 394f853bb653
child 4075 e710f4052bd6
--- a/server/hook.py	Tue Dec 08 11:12:42 2009 +0100
+++ b/server/hook.py	Tue Dec 08 12:01:38 2009 +0100
@@ -145,12 +145,12 @@
     """
     def __init__(self, *expected):
         self.expected = expected
-        if len(expected) == 1:
-            try:
-                iter(expected[0])
-                self.expected = expected[0]
-            except TypeError:
-                pass
+        # if len(expected) == 1:
+        #     try:
+        #         iter(expected[0])
+        #         self.expected = expected[0]
+        #     except TypeError:
+        #         pass
 
     @lltrace
     def __call__(self, cls, req, *args, **kwargs):