cwconfig.py
changeset 5818 6d8c479fcd98
parent 5815 282194aa43f3
parent 5817 e4207221f3f5
child 5890 141b935a38fc
equal deleted inserted replaced
5816:5d72fbba92e9 5818:6d8c479fcd98
  1001 
  1001 
  1002     def _load_site_cubicweb(self, sitefile):
  1002     def _load_site_cubicweb(self, sitefile):
  1003         # overriden to register cube specific options
  1003         # overriden to register cube specific options
  1004         mod = super(CubicWebConfiguration, self)._load_site_cubicweb(sitefile)
  1004         mod = super(CubicWebConfiguration, self)._load_site_cubicweb(sitefile)
  1005         if getattr(mod, 'options', None):
  1005         if getattr(mod, 'options', None):
  1006             self.register_options(module.options)
  1006             self.register_options(mod.options)
  1007             self.load_defaults()
  1007             self.load_defaults()
  1008 
  1008 
  1009     def init_log(self, logthreshold=None, force=False):
  1009     def init_log(self, logthreshold=None, force=False):
  1010         """init the log service"""
  1010         """init the log service"""
  1011         if not force and hasattr(self, '_logging_initialized'):
  1011         if not force and hasattr(self, '_logging_initialized'):