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>
Thu, 27 Jan 2011 02:48:47 +0000 (18:48 -0800)
pym/portage/dbapi/bintree.py

index 5453622ee4ddf48bfdee7f8fe102632fb6b84e67..027503cf91889e24f39d495db4a7e25a6069541f 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