equal
deleted
inserted
replaced
131 ifaces = frozenset(isinstance(iface, basestring) |
131 ifaces = frozenset(isinstance(iface, basestring) |
132 and iface in self.schema |
132 and iface in self.schema |
133 and self.etype_class(iface) |
133 and self.etype_class(iface) |
134 or iface |
134 or iface |
135 for iface in ifaces) |
135 for iface in ifaces) |
136 if not ifaces & interfaces: |
136 if not ('Any' in ifaces or ifaces & implemented_interfaces): |
137 self.debug('kicking vobject %s (unsupported interface)', obj) |
137 self.debug('kicking vobject %s (no implemented interface ' |
|
138 'among %s)', obj, ifaces) |
138 self.unregister(obj) |
139 self.unregister(obj) |
139 |
140 |
140 |
141 |
141 @cached |
142 @cached |
142 def etype_class(self, etype): |
143 def etype_class(self, etype): |