summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-18 08:10:46 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-18 08:10:46 +0000
commitf02b2de300bb1654cc46c039bd175596017a9cae (patch)
tree09a1a775c37ed7c2b3462b062fbb632861de289b
parent057c4dbcdcd3afad48f220083df0fef580dfe204 (diff)
downloadportage-f02b2de300bb1654cc46c039bd175596017a9cae.tar.gz
portage-f02b2de300bb1654cc46c039bd175596017a9cae.tar.bz2
portage-f02b2de300bb1654cc46c039bd175596017a9cae.zip
Remove the unused system slot from DepPriority.
svn path=/main/trunk/; revision=4747
-rwxr-xr-xbin/emerge6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/emerge b/bin/emerge
index 9d4bc33a5..ea4162d6c 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__ = ["satisfied", "buildtime", "runtime", "system"]
+ __slots__ = ["satisfied", "buildtime", "runtime"]
MEDIUM = -1
SOFT = -2
MIN = -4
@@ -673,9 +673,7 @@ class DepPriority(object):
return -2
if self.runtime:
return -3
- if self.system:
- return -4
- return -5
+ return -4
def __lt__(self, other):
return int(self) < other
def __le__(self, other):