cwconfig.py
branchstable
changeset 5817 e4207221f3f5
parent 5812 d970049d7cfd
child 5818 6d8c479fcd98
child 5885 5d908f1a7659
equal deleted inserted replaced
5813:0b250d72fcfa 5817:e4207221f3f5
  1003 
  1003 
  1004     def _load_site_cubicweb(self, sitefile):
  1004     def _load_site_cubicweb(self, sitefile):
  1005         # overriden to register cube specific options
  1005         # overriden to register cube specific options
  1006         mod = super(CubicWebConfiguration, self)._load_site_cubicweb(sitefile)
  1006         mod = super(CubicWebConfiguration, self)._load_site_cubicweb(sitefile)
  1007         if getattr(mod, 'options', None):
  1007         if getattr(mod, 'options', None):
  1008             self.register_options(module.options)
  1008             self.register_options(mod.options)
  1009             self.load_defaults()
  1009             self.load_defaults()
  1010 
  1010 
  1011     def init_log(self, logthreshold=None, debug=False, force=False):
  1011     def init_log(self, logthreshold=None, debug=False, force=False):
  1012         """init the log service"""
  1012         """init the log service"""
  1013         if not force and hasattr(self, '_logging_initialized'):
  1013         if not force and hasattr(self, '_logging_initialized'):