summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-01-29 20:11:00 -0800
committerZac Medico <zmedico@gentoo.org>2011-02-02 15:18:15 -0800
commita10e1f74f4f0e84c88a17407cf54b9be5d6ea272 (patch)
tree42f24cfb5be26bb0802997893b25a7a60cccd279 /pym
parent68a5404751a5a2a75a9d0a4d352d63f4c11d305e (diff)
downloadportage-a10e1f74f4f0e84c88a17407cf54b9be5d6ea272.tar.gz
portage-a10e1f74f4f0e84c88a17407cf54b9be5d6ea272.tar.bz2
portage-a10e1f74f4f0e84c88a17407cf54b9be5d6ea272.zip
bintree: warn for missing binhost TIMESTAMP
This seems to be the case that's triggered in bug 353189 and bug 350139.
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/bintree.py2
1 files changed, 2 insertions, 0 deletions
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" \