server/hook.py
changeset 4008 fce83937a885
parent 3998 94cc7cad3d2d
child 4011 394f853bb653
--- 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