cwvreg.py
changeset 5442 3ed8afbbdf70
parent 5426 0d4853a6e5ee
child 5444 f7fdb5dd82f6
equal deleted inserted replaced
5438:2a9181b82806 5442:3ed8afbbdf70
   440     * controllers, which are directly plugged into the application
   440     * controllers, which are directly plugged into the application
   441       object to handle request publishing XXX to merge with views
   441       object to handle request publishing XXX to merge with views
   442     * contentnavigation XXX to merge with components? to kill?
   442     * contentnavigation XXX to merge with components? to kill?
   443     """
   443     """
   444 
   444 
   445     def __init__(self, config, debug=None, initlog=True):
   445     def __init__(self, config, initlog=True):
   446         if initlog:
   446         if initlog:
   447             # first init log service
   447             # first init log service
   448             config.init_log(debug=debug)
   448             config.init_log()
   449         super(CubicWebVRegistry, self).__init__(config)
   449         super(CubicWebVRegistry, self).__init__(config)
   450         self.schema = None
   450         self.schema = None
   451         self.initialized = False
   451         self.initialized = False
   452         self.reset()
   452         self.reset()
   453         # XXX give force_reload (or refactor [re]loading...)
   453         # XXX give force_reload (or refactor [re]loading...)