commit 19b611587338b7f717f5215604008c5759b7ab4a
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Jun 4 09:51:50 2014 +0200
[artifact] Fix __eq__() implementation
python/javapackages/pom/artifact.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python/javapackages/pom/artifact.py b/python/javapackages/pom/artifact.py
index 1fa8ba6..c35acf4 100644
--- a/python/javapackages/pom/artifact.py
+++ b/python/javapackages/pom/artifact.py
@@ -136,7 +136,7 @@ class AbstractArtifact(object):
def __eq__(self, other):
if type(other) is type(self):
- return self.__get_significant_members() == other.__dict__
+ return self.__get_significant_members() == other.__get_significant_members()
return False
def __ne__(self, other):
Show replies by date