From a607079b3b556de243e955cda7ae9a3defd26750 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Jan 2011 20:11:00 -0800 Subject: bintree: warn for missing binhost TIMESTAMP This seems to be the case that's triggered in bug 353189 and bug 350139. --- pym/portage/dbapi/bintree.py | 2 ++ 1 file changed, 2 insertions(+) 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" \ -- cgit v1.2.3-1-g7c22