equal
deleted
inserted
replaced
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'): |