From 956076174104dd8162f788f765591eb1e74e60ab Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 29 Oct 2006 14:01:57 +0000 Subject: [PATCH] Use a tuple for __slots__ so that it's immutable. svn path=/main/trunk/; revision=4872 --- bin/emerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2