cwconfig.py
changeset 5818 6d8c479fcd98
parent 5815 282194aa43f3
parent 5817 e4207221f3f5
child 5890 141b935a38fc
--- 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):