From: Zac Medico Date: Fri, 20 Jun 2008 17:04:13 +0000 (-0000) Subject: Make Atom use str.__eq__ and __ne__ also. X-Git-Tag: v2.2_rc2~370 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46229c938cc8b580d46674d2b83d713f95c28003;p=portage.git Make Atom use str.__eq__ and __ne__ also. svn path=/main/trunk/; revision=10744 --- 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