server/hook.py
changeset 4339 fe93b670343d
parent 4307 7fba9c34c88f
child 4341 2d2aa2526c56
--- a/server/hook.py	Mon Jan 25 19:16:35 2010 +0100
+++ b/server/hook.py	Mon Jan 25 19:18:33 2010 +0100
@@ -82,7 +82,7 @@
             if hook.enabled:
                 hook()
             else:
-                warn('[3.6] %s: enabled is deprecated' % self.__class__)
+                warn('[3.6] %s: enabled is deprecated' % hook.__class__)
 
 VRegistry.REGISTRY_FACTORY['hooks'] = HooksRegistry