diff -r a19f22bacedc -r 6340ed9f8caf server/hook.py --- a/server/hook.py Tue Apr 06 20:10:12 2010 +0200 +++ b/server/hook.py Wed Apr 07 09:43:50 2010 +0200 @@ -202,7 +202,7 @@ for event in cls.events: if event not in ALL_HOOKS: raise Exception('bad event %s on %s.%s' % ( - event, obj.__module__, obj.__name__)) + event, cls.__module__, cls.__name__)) except AttributeError: raise except TypeError: