backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 21 Jun 2010 16:01:57 +0200
changeset 5818 6d8c479fcd98
parent 5816 5d72fbba92e9 (current diff)
parent 5817 e4207221f3f5 (diff)
child 5819 1017163825c7
backport stable
cwconfig.py
--- a/cwconfig.py	Mon Jun 21 15:58:13 2010 +0200
+++ b/cwconfig.py	Mon Jun 21 16:01:57 2010 +0200
@@ -1003,7 +1003,7 @@
         # overriden to register cube specific options
         mod = super(CubicWebConfiguration, self)._load_site_cubicweb(sitefile)
         if getattr(mod, 'options', None):
-            self.register_options(module.options)
+            self.register_options(mod.options)
             self.load_defaults()
 
     def init_log(self, logthreshold=None, force=False):