From a10e1f74f4f0e84c88a17407cf54b9be5d6ea272 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(+) (limited to 'pym') diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 8c2ba8d1b..e96a7dc9f 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