cwconfig.py
branchstable
changeset 5817 e4207221f3f5
parent 5812 d970049d7cfd
child 5818 6d8c479fcd98
child 5885 5d908f1a7659
--- a/cwconfig.py	Mon Jun 21 15:32:26 2010 +0200
+++ b/cwconfig.py	Mon Jun 21 16:01:15 2010 +0200
@@ -1005,7 +1005,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, debug=False, force=False):