cwvreg.py
branchstable
changeset 6014 a5e22657f6f4
parent 5890 141b935a38fc
child 6037 1b4ea3ebdf80
--- a/cwvreg.py	Mon Jul 26 12:07:00 2010 +0200
+++ b/cwvreg.py	Mon Jul 26 15:04:47 2010 +0200
@@ -616,7 +616,7 @@
                                    or iface
                                    for iface in ifaces)
                 if not ('Any' in ifaces or ifaces & implemented_interfaces):
-                    self.debug('kicking appobject %s (no implemented '
+                    self.debug('unregister %s (no implemented '
                                'interface among %s)', obj, ifaces)
                     self.unregister(obj)
             # since 3.9: remove appobjects which depending on other, unexistant
@@ -625,14 +625,14 @@
                 try:
                     registry = self[regname]
                 except RegistryNotFound:
-                    self.debug('kicking %s (no registry %s)', obj, regname)
+                    self.debug('unregister %s (no registry %s)', obj, regname)
                     self.unregister(obj)
                     continue
                 for regid in regids:
                     if registry.get(regid):
                         break
                 else:
-                    self.debug('kicking %s (no %s object in registry %s)',
+                    self.debug('unregister %s (no %s object in registry %s)',
                                obj, ' or '.join(regids), regname)
                     self.unregister(obj)
         super(CubicWebVRegistry, self).initialization_completed()