summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/bintree.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-01-29 20:11:00 -0800
committerZac Medico <zmedico@gentoo.org>2011-01-29 20:11:00 -0800
commita607079b3b556de243e955cda7ae9a3defd26750 (patch)
treefb29774eae327811a9409eb9886d9f9cca27ad14 /pym/portage/dbapi/bintree.py
parente06065bffc3f1764500fddf870f4cdccef19e2b8 (diff)
downloadportage-a607079b3b556de243e955cda7ae9a3defd26750.tar.gz
portage-a607079b3b556de243e955cda7ae9a3defd26750.tar.bz2
portage-a607079b3b556de243e955cda7ae9a3defd26750.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/portage/dbapi/bintree.py')
-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 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" \