summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-29 14:01:57 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-29 14:01:57 +0000
commit956076174104dd8162f788f765591eb1e74e60ab (patch)
treea40cac93cbcef7aaa83e3498bf4dc8885e651bae
parent542a9904d99925c698012e6663e80f79a3519ede (diff)
downloadportage-956076174104dd8162f788f765591eb1e74e60ab.tar.gz
portage-956076174104dd8162f788f765591eb1e74e60ab.tar.bz2
portage-956076174104dd8162f788f765591eb1e74e60ab.zip
Use a tuple for __slots__ so that it's immutable.
svn path=/main/trunk/; revision=4872
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
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