Make sure that ${A} in initialized in case pkg_nofetch() needs to be called. Thanks...
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 21:10:31 +0000 (21:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 21:10:31 +0000 (21:10 -0000)
svn path=/main/trunk/; revision=6039

pym/portage/__init__.py

index 7741920449d1d116abb48cc005774cdb4c3376e8..1b07b966d796474d74ad6ac9de93e72556407b63 100644 (file)
@@ -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