aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg_resources.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 7c3d58fb..4babb48e 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -2064,6 +2064,8 @@ class Distribution(object):
# It's not a Distribution, so they are not equal
return False
return self.hashcmp == other.hashcmp
+ def __ne__(self, other):
+ return not self == other
# These properties have to be lazy so that we don't have to load any
# metadata until/unless it's actually needed. (i.e., some distributions