diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-07 06:27:40 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-07 06:27:40 +0000 |
commit | 9b316e795d223299ed045feea9ae72d1750611b4 (patch) | |
tree | 7329326cddaf8516a7b4cf2a087ea564d2c3af4c | |
parent | a536c3aa2a3926db585ba36c09ce16b4516eeaf0 (diff) | |
download | portage-9b316e795d223299ed045feea9ae72d1750611b4.tar.gz portage-9b316e795d223299ed045feea9ae72d1750611b4.tar.bz2 portage-9b316e795d223299ed045feea9ae72d1750611b4.zip |
Fix broken SRC_URI logic from the previous commit.
svn path=/main/trunk/; revision=5198
-rw-r--r-- | pym/portage.py | 6 |
1 files 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) |