server/repository.py
changeset 5442 3ed8afbbdf70
parent 5426 0d4853a6e5ee
child 5447 f29dafba250a
equal deleted inserted replaced
5438:2a9181b82806 5442:3ed8afbbdf70
   102     entities and relations
   102     entities and relations
   103 
   103 
   104     XXX protect pyro access
   104     XXX protect pyro access
   105     """
   105     """
   106 
   106 
   107     def __init__(self, config, vreg=None, debug=False):
   107     def __init__(self, config, vreg=None):
   108         self.config = config
   108         self.config = config
   109         if vreg is None:
   109         if vreg is None:
   110             vreg = cwvreg.CubicWebVRegistry(config, debug)
   110             vreg = cwvreg.CubicWebVRegistry(config)
   111         self.vreg = vreg
   111         self.vreg = vreg
   112         self.pyro_registered = False
   112         self.pyro_registered = False
   113         self.info('starting repository from %s', self.config.apphome)
   113         self.info('starting repository from %s', self.config.apphome)
   114         # dictionary of opened sessions
   114         # dictionary of opened sessions
   115         self._sessions = {}
   115         self._sessions = {}