From: Zac Medico Date: Sun, 30 Jan 2011 04:11:00 +0000 (-0800) Subject: bintree: warn for missing binhost TIMESTAMP X-Git-Tag: v2.1.9.36~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a10e1f74f4f0e84c88a17407cf54b9be5d6ea272;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 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" \