diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-20 17:04:13 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-20 17:04:13 +0000 |
commit | 46229c938cc8b580d46674d2b83d713f95c28003 (patch) | |
tree | 132d7fae9389caa4209304dfd8edecf4c54144e4 | |
parent | cf47dc1075bee43eed5129eb23658d9aa81e592b (diff) | |
download | portage-46229c938cc8b580d46674d2b83d713f95c28003.tar.gz portage-46229c938cc8b580d46674d2b83d713f95c28003.tar.bz2 portage-46229c938cc8b580d46674d2b83d713f95c28003.zip |
Make Atom use str.__eq__ and __ne__ also.
svn path=/main/trunk/; revision=10744
-rw-r--r-- | pym/portage/dep.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |