projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf47dc1
)
Make Atom use str.__eq__ and __ne__ also.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 17:04:13 +0000
(17:04 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 17:04:13 +0000
(17:04 -0000)
svn path=/main/trunk/; revision=10744
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index ba46a84befaaf67075a6c8f539a92881bc99b87c..8a89587887cd79eef3d267ad207a237c1c7753f6 100644
(file)
--- 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