equal
deleted
inserted
replaced
68 return self.vobject |
68 return self.vobject |
69 |
69 |
70 def equivalent(self, other): |
70 def equivalent(self, other): |
71 if use_interfaces(self.vobject) != use_interfaces(other): |
71 if use_interfaces(self.vobject) != use_interfaces(other): |
72 return False |
72 return False |
|
73 if getattr(self.vobject, 'require_groups', ()) != getattr(other, 'require_groups', ()): |
|
74 return False |
73 try: |
75 try: |
74 newaccepts = list(other.accepts) |
76 newaccepts = list(other.accepts) |
75 for etype in self.vobject.accepts: |
77 for etype in self.vobject.accepts: |
76 try: |
78 try: |
77 newaccepts.remove(etype) |
79 newaccepts.remove(etype) |