server/serverconfig.py
changeset 2810 550dae61eb88
parent 2809 04fa75d43af4
child 2835 04034421b072
--- a/server/serverconfig.py	Thu Aug 13 10:58:29 2009 +0200
+++ b/server/serverconfig.py	Thu Aug 13 11:06:07 2009 +0200
@@ -263,6 +263,8 @@
         except RegistryNotFound:
             return hooks
         for hookdef in apphookdefs:
+            # XXX < 3.5 bw compat
+            hookdef.__dict__['config'] = self
             for event, ertype in hookdef.register_to(vreg.schema):
                 if ertype == 'Any':
                     ertype = ''