From 9b316e795d223299ed045feea9ae72d1750611b4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 7 Dec 2006 06:27:40 +0000 Subject: [PATCH] Fix broken SRC_URI logic from the previous commit. svn path=/main/trunk/; revision=5198 --- pym/portage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 44206c34e..fa21a33c7 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2506,9 +2506,9 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None alluris, aalist = myportdb.getfetchlist( cpv, mytree=mytree, all=True, mysettings=mysettings) - for i in xrange(len(aalist)): - if aalist[i] == myfile: - myuris.append(alluris[i]) + for uri in alluris: + if os.path.basename(uri) == myfile: + myuris.append(uri) if not fetch(myuris, mysettings): writemsg("!!! File %s doesn't exist, can't update " + \ "Manifest\n" % myfile, noiselevel=-1) -- 2.26.2