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:11:27 +0000 (21:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 21:11:27 +0000 (21:11 -0000)
svn path=/main/branches/2.1.2/; revision=6040

pym/portage.py

index 90d18ca3849fc18c9fcb29ed6a1103f0157d0448..2ab0a7c6124fbaaeed95710f7adad266a1faf06d 100644 (file)
@@ -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