From 063ad4f61d08800aa922758d3744d911fee9af86 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Thu, 3 Nov 2005 14:30:26 +0000 Subject: Start from 1st element rather than 2nd when doing checks on *DEPEND svn path=/main/branches/2.0/; revision=2253 --- pym/portage_dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22