server/hook.py
changeset 4490 d45cde54d464
parent 4341 2d2aa2526c56
child 4522 271f201e3735
--- a/server/hook.py	Sat Feb 06 08:45:14 2010 +0100
+++ b/server/hook.py	Mon Feb 08 11:08:55 2010 +0100
@@ -193,8 +193,8 @@
         return str(id(cls))
 
     @classmethod
-    def __registered__(cls, vreg):
-        super(Hook, cls).__registered__(vreg)
+    def __registered__(cls, reg):
+        super(Hook, cls).__registered__(reg)
         if getattr(cls, 'accepts', None):
             warn('[3.6] %s.%s: accepts is deprecated, define proper __select__'
                  % (cls.__module__, cls.__name__), DeprecationWarning)