better messages
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 22 Apr 2009 09:46:13 -0500
changeset 1593 8602116daef3
parent 1592 80e0ef472ec3
child 1598 8f400d5f6742
better messages
cwvreg.py
--- a/cwvreg.py	Tue Apr 21 22:28:15 2009 -0500
+++ b/cwvreg.py	Wed Apr 22 09:46:13 2009 -0500
@@ -91,7 +91,7 @@
                 for oid, objects in regcontent.items():
                     for obj in reversed(objects[:]):
                         if not obj in objects:
-                            continue # obj has been kicked by a previous one
+                            continue # obj was kicked by a previous one
                         accepted = set(getattr(obj, 'accepts_interfaces', ()))
                         if accepted:
                             for accepted_iface in accepted:
@@ -103,7 +103,7 @@
                                             registerer.remove_all_equivalents(objects)
                                         break
                                 else:
-                                    self.debug('kicking vobject %s (unsupported interface)', obj)
+                                    self.debug('kicking vobject %s because interface is not supported', obj)
                                     objects.remove(obj)
                     # if objects is empty, remove oid from registry
                     if not objects: