summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dep/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py
index cd0087ad7..6b0f7f78c 100644
--- a/pym/portage/dep/__init__.py
+++ b/pym/portage/dep/__init__.py
@@ -1235,6 +1235,11 @@ class ExtendedAtomDict(portage.cache.mappings.MutableMapping):
else:
self._normal[cp] = val
+ def __eq__(self, other):
+ return self._value_class == other._value_class and \
+ self._extended == other._extended and \
+ self._normal == other._normal
+
def clear(self):
self._extended.clear()
self._normal.clear()