summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-11-03 14:30:26 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-11-03 14:30:26 +0000
commit063ad4f61d08800aa922758d3744d911fee9af86 (patch)
tree9d75bde138ee3ff6e34f2054b05012efe725ef96 /pym
parent454abcd5463b70fbc91927dcefc8b743a6e6b4e3 (diff)
downloadportage-063ad4f61d08800aa922758d3744d911fee9af86.tar.gz
portage-063ad4f61d08800aa922758d3744d911fee9af86.tar.bz2
portage-063ad4f61d08800aa922758d3744d911fee9af86.zip
Start from 1st element rather than 2nd when doing checks on *DEPEND
svn path=/main/branches/2.0/; revision=2253
Diffstat (limited to 'pym')
-rw-r--r--pym/portage_dep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_dep.py b/pym/portage_dep.py
index 277b78c07..93d0049e7 100644
--- a/pym/portage_dep.py
+++ b/pym/portage_dep.py
@@ -61,7 +61,7 @@ def use_reduce(deparray, uselist=[], masklist=[], matchall=0, excludeall=[]):
leaving an array with subarrays
"""
# Quick validity checks
- for x in range(1,len(deparray)):
+ for x in range(len(deparray)):
if deparray[x] in ["||","&&"]:
if len(deparray) == x:
# Operator is the last element