author | sylvain.thenault@logilab.fr |
Mon, 06 Apr 2009 17:22:58 +0200 | |
changeset 1252 | e782f333408b |
parent 1249 | 905d76e38433 |
child 1257 | e0e0a1c3d80f |
--- a/common/registerers.py Mon Apr 06 15:36:58 2009 +0200 +++ b/common/registerers.py Mon Apr 06 17:22:58 2009 +0200 @@ -101,6 +101,8 @@ def equivalent(self, other): if _accepts_interfaces(self.vobject) != _accepts_interfaces(other): return False + if getattr(self.vobject, 'require_groups', ()) != getattr(other, 'require_groups', ()): + return False try: newaccepts = list(other.accepts) for etype in self.vobject.accepts: