bintree: don't provide default VERSION header v2.2.0_alpha41
authorZac Medico <zmedico@gentoo.org>
Mon, 13 Jun 2011 22:13:17 +0000 (15:13 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 13 Jun 2011 22:13:17 +0000 (15:13 -0700)
We want to make sure that we know when the VERSION header is missing,
so we shouldn't provide a default value.

pym/portage/dbapi/bintree.py

index 36bf735f60ed64154c3e0ca474765ebe184e00f0..ebec11fdd4359e27684fd063d517d39f868945d5 100644 (file)
@@ -273,7 +273,6 @@ class binarytree(object):
 
                        # Populate the header with appropriate defaults.
                        self._pkgindex_default_header_data = {
-                               "VERSION"      : str(self._pkgindex_version),
                                "CHOST"        : self.settings.get("CHOST", ""),
                                "repository"   : "",
                        }