From: Zac Medico Date: Sun, 30 Jan 2011 04:11:00 +0000 (-0800) Subject: bintree: warn for missing binhost TIMESTAMP X-Git-Tag: v2.2.0_alpha20~81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a607079b3b556de243e955cda7ae9a3defd26750;p=portage.git bintree: warn for missing binhost TIMESTAMP This seems to be the case that's triggered in bug 353189 and bug 350139. --- diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 027503cf9..254ed021d 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -808,6 +808,8 @@ class binarytree(object): if not remote_timestamp: # no timestamp in the header, something's wrong pkgindex = None + writemsg(_("\n\n!!! Binhost package index " \ + " has no TIMESTAMP field.\n"), noiselevel=-1) else: if not self._pkgindex_version_supported(rmt_idx): writemsg(_("\n\n!!! Binhost package index version" \