From 46229c938cc8b580d46674d2b83d713f95c28003 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Jun 2008 17:04:13 +0000 Subject: Make Atom use str.__eq__ and __ne__ also. svn path=/main/trunk/; revision=10744 --- pym/portage/dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dep.py b/pym/portage/dep.py index ba46a84be..8a8958788 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -416,7 +416,7 @@ class Atom(object): _str_methods = ("endswith", "find", "index", "lstrip", "replace", "startswith", "strip", "rindex", "rfind", "rstrip", "__getitem__", - "__hash__", "__len__", "__repr__", "__str__") + "__eq__", "__hash__", "__len__", "__ne__", "__repr__", "__str__") __slots__ = ("__weakref__", "blocker", "cp", "cpv", "operator", "slot", "string", "use") + _str_methods -- cgit v1.2.3-1-g7c22