From: Zac Medico Date: Sun, 29 Oct 2006 14:01:57 +0000 (-0000) Subject: Use a tuple for __slots__ so that it's immutable. X-Git-Tag: v2.1.2~531 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=956076174104dd8162f788f765591eb1e74e60ab;p=portage.git Use a tuple for __slots__ so that it's immutable. svn path=/main/trunk/; revision=4872 --- diff --git a/bin/emerge b/bin/emerge index a7b2b0a29..933b461d0 100755 --- a/bin/emerge +++ b/bin/emerge @@ -655,7 +655,7 @@ class DepPriority(object): SOFT The upper boundary for soft dependencies. MIN The lower boundary for soft dependencies. """ - __slots__ = ["__weakref__", "satisfied", "buildtime", "runtime"] + __slots__ = ("__weakref__", "satisfied", "buildtime", "runtime") MEDIUM = -1 SOFT = -2 MIN = -4