From cf47dc1075bee43eed5129eb23658d9aa81e592b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Jun 2008 16:59:56 +0000 Subject: [PATCH] Make Atom use str.__hash__. svn path=/main/trunk/; revision=10743 --- pym/portage/dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dep.py b/pym/portage/dep.py index bd9b19677..ba46a84be 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__", - "__len__", "__repr__", "__str__") + "__hash__", "__len__", "__repr__", "__str__") __slots__ = ("__weakref__", "blocker", "cp", "cpv", "operator", "slot", "string", "use") + _str_methods -- 2.26.2