[config] fix dumb name error stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 21 Jun 2010 16:01:15 +0200
branchstable
changeset 5817 e4207221f3f5
parent 5813 0b250d72fcfa
child 5818 6d8c479fcd98
child 5824 de9b7e88660e
[config] fix dumb name error
cwconfig.py
--- 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):