diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-10-29 14:01:57 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-10-29 14:01:57 +0000 |
commit | 956076174104dd8162f788f765591eb1e74e60ab (patch) | |
tree | a40cac93cbcef7aaa83e3498bf4dc8885e651bae | |
parent | 542a9904d99925c698012e6663e80f79a3519ede (diff) | |
download | portage-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-x | bin/emerge | 2 |
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 |