projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454abcd
)
Start from 1st element rather than 2nd when doing checks on *DEPEND
author
Jason Stubbs
<jstubbs@gentoo.org>
Thu, 3 Nov 2005 14:30:26 +0000
(14:30 -0000)
committer
Jason Stubbs
<jstubbs@gentoo.org>
Thu, 3 Nov 2005 14:30:26 +0000
(14:30 -0000)
svn path=/main/branches/2.0/; revision=2253
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index 277b78c07994df78901904eb99ed0975668468d1..93d0049e7039e8e3aca2b47cd52f6692c1593959 100644
(file)
--- 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