author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 08 Dec 2009 12:01:38 +0100 | |
changeset 4025 | de69adda0781 |
parent 4024 | 6a14cff373c3 |
child 4026 | d80a55a024d8 |
server/hook.py | file | annotate | diff | comparison | revisions |
--- 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):