summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-22 21:11:27 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-22 21:11:27 +0000
commitcf9aee882924a894d95e89526cb030e36f2a4043 (patch)
tree8bf125e161b97f1322c76d52ee8f9ae49d8057a3 /pym
parentde9a3214a6aa46b86c62772a25adaee27b347a43 (diff)
downloadportage-cf9aee882924a894d95e89526cb030e36f2a4043.tar.gz
portage-cf9aee882924a894d95e89526cb030e36f2a4043.tar.bz2
portage-cf9aee882924a894d95e89526cb030e36f2a4043.zip
Make sure that ${A} in initialized in case pkg_nofetch() needs to be called. Thanks to Peper for reporting. (trunk r6038:6039)
svn path=/main/branches/2.1.2/; revision=6040
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 90d18ca38..2ab0a7c61 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2739,6 +2739,7 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None
mysettings=fetch_settings)
myuris = [uri for uri in alluris \
if os.path.basename(uri) == myfile]
+ fetch_settings["A"] = myfile # for use by pkg_nofetch()
if fetch(myuris, fetch_settings):
success = True
break