Bug #203919 - Define missing base_url variable to fix NameError
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Dec 2007 19:18:57 +0000 (19:18 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Dec 2007 19:18:57 +0000 (19:18 -0000)
when using PORTAGE_BINHOST.

svn path=/main/branches/2.1.2/; revision=9130

pym/portage.py

index 90eccf963283cda6e98f0bac0201d64a6af4d802..cf4a3682663dd59417f908eb10303c850c4e0871 100644 (file)
@@ -7778,6 +7778,8 @@ class binarytree(object):
 
                if getbinpkgs and \
                        self.settings["PORTAGE_BINHOST"] and not self.remotepkgs:
+
+                       base_url = self.settings["PORTAGE_BINHOST"]
                        try:
                                chunk_size = long(self.settings["PORTAGE_BINHOST_CHUNKSIZE"])
                                if chunk_size < 8: