cwvreg.py
branchtls-sprint
changeset 1282 272d8ec6f308
parent 1263 01152fffd593
child 1309 a4eb20f86cb0
equal deleted inserted replaced
1277:2eeef019e186 1282:272d8ec6f308
   138                                'among %s)', obj, ifaces)
   138                                'among %s)', obj, ifaces)
   139                     self.unregister(obj)
   139                     self.unregister(obj)
   140             # clear needs_iface so we don't try to remove some not-anymore-in
   140             # clear needs_iface so we don't try to remove some not-anymore-in
   141             # objects on automatic reloading
   141             # objects on automatic reloading
   142             self._needs_iface.clear()
   142             self._needs_iface.clear()
       
   143             # print registry content
       
   144             for registry, objects in self.items():
       
   145                 self.debug('available in registry %s: %s', registry,
       
   146                            sorted(objects))
       
   147                 for appobjects in objects.itervalues():
       
   148                     for appobject in appobjects:
       
   149                         appobject.vreg_initialization_completed()
   143     
   150     
   144     @cached
   151     @cached
   145     def etype_class(self, etype):
   152     def etype_class(self, etype):
   146         """return an entity class for the given entity type.
   153         """return an entity class for the given entity type.
   147         Try to find out a specific class for this kind of entity or
   154         Try to find out a specific class for this kind of entity or