From e0d5d3ae42039ccb444b844d5943856808c5fd14 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Feb 2007 21:10:31 +0000 Subject: Make sure that ${A} in initialized in case pkg_nofetch() needs to be called. Thanks to Peper for reporting. svn path=/main/trunk/; revision=6039 --- pym/portage/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 774192044..1b07b966d 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2661,6 +2661,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 -- cgit v1.2.3-1-g7c22