diff -r 94cc7cad3d2d -r fce83937a885 server/hook.py --- a/server/hook.py Thu Dec 03 17:17:43 2009 +0100 +++ b/server/hook.py Mon Dec 07 17:16:55 2009 +0100 @@ -82,7 +82,7 @@ if hook.enabled: hook() else: - warn('[3.6] %s: enabled is deprecated' % cls) + warn('[3.6] %s: enabled is deprecated' % self.__class__) VRegistry.REGISTRY_FACTORY['hooks'] = HooksRegistry