binarytree: fix BASE_URI for old-style binhost
authorZac Medico <zmedico@gentoo.org>
Thu, 27 Jan 2011 02:48:47 +0000 (18:48 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 2 Feb 2011 23:11:45 +0000 (15:11 -0800)
pym/portage/dbapi/bintree.py

index accb8e7dcd3a94a54076cde2d7da3fa69ac734a1..8c2ba8d1baf064eea4f1fb3c9e29d76b2089d489 100644 (file)
@@ -945,6 +945,7 @@ class binarytree(object):
                                        remote_metadata = self.__remotepkgs[mypkg]
                                        for k, v in remote_metadata.items():
                                                remote_metadata[k] = v.strip()
+                                       remote_metadata["BASE_URI"] = base_url
 
                                        # Eliminate metadata values with names that digestCheck
                                        # uses, since they are not valid when using the old