diff --git a/src/mio/rpmDB.py b/src/mio/rpmDB.py
index 4e97622d6b57f29a5c0ee7e87622b219df7aaaa3..242a6c7e797fdffcf5759cf70cfe473c845e1e54 100755
--- a/src/mio/rpmDB.py
+++ b/src/mio/rpmDB.py
@@ -14,7 +14,7 @@ class RPM:
         pass
 
     def __eq__(self, other):
-        return (self.__class__ == other.__class__,
+        return (self.__class__ == other.__class__ and
                 self.name == other.name and
                 self.arch == other.arch and 
                 self.version == other.version and