# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1239031378 -7200 # Node ID e782f333408bdd55dd234e97ab74e197ab417493 # Parent 905d76e384337021b5e9aa950c3aa00a4102e59d check require_groups as well diff -r 905d76e38433 -r e782f333408b common/registerers.py --- 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: