From: Zac Medico Date: Fri, 20 Jun 2008 16:59:56 +0000 (-0000) Subject: Make Atom use str.__hash__. X-Git-Tag: v2.2_rc2~371 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cf47dc1075bee43eed5129eb23658d9aa81e592b;p=portage.git Make Atom use str.__hash__. svn path=/main/trunk/; revision=10743 --- 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