cwvreg.py
branchtls-sprint
changeset 1146 547681592765
parent 1145 4162e5bb5367
child 1176 0ff3d29e91c9
--- a/cwvreg.py	Thu Mar 26 18:57:58 2009 +0100
+++ b/cwvreg.py	Thu Mar 26 18:58:14 2009 +0100
@@ -133,8 +133,9 @@
                                    and self.etype_class(iface)
                                    or iface
                                    for iface in ifaces)
-                if not ifaces & interfaces:
-                    self.debug('kicking vobject %s (unsupported interface)', obj)
+                if not ('Any' in ifaces or ifaces & implemented_interfaces):
+                    self.debug('kicking vobject %s (no implemented interface '
+                               'among %s)', obj, ifaces)
                     self.unregister(obj)