projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8918b6b
)
Make Atom use str.__hash__.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 16:59:56 +0000
(16:59 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Jun 2008 16:59:56 +0000
(16:59 -0000)
svn path=/main/trunk/; revision=10743
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index bd9b19677e693e59992d9ae81ad8ceabf04a7499..ba46a84befaaf67075a6c8f539a92881bc99b87c 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__",
- "__len__", "__repr__", "__str__")
+ "__
hash__", "__
len__", "__repr__", "__str__")
__slots__ = ("__weakref__", "blocker", "cp", "cpv", "operator",
"slot", "string", "use") + _str_methods