1 |
Author: zmedico |
2 |
Date: 2008-06-20 16:59:56 +0000 (Fri, 20 Jun 2008) |
3 |
New Revision: 10743 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dep.py |
7 |
Log: |
8 |
Make Atom use str.__hash__. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/dep.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/dep.py 2008-06-20 16:47:45 UTC (rev 10742) |
14 |
+++ main/trunk/pym/portage/dep.py 2008-06-20 16:59:56 UTC (rev 10743) |
15 |
@@ -416,7 +416,7 @@ |
16 |
|
17 |
_str_methods = ("endswith", "find", "index", "lstrip", "replace", |
18 |
"startswith", "strip", "rindex", "rfind", "rstrip", "__getitem__", |
19 |
- "__len__", "__repr__", "__str__") |
20 |
+ "__hash__", "__len__", "__repr__", "__str__") |
21 |
|
22 |
__slots__ = ("__weakref__", "blocker", "cp", "cpv", "operator", |
23 |
"slot", "string", "use") + _str_methods |
24 |
|
25 |
-- |
26 |
gentoo-commits@l.g.o mailing list |