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