1 |
commit: a607079b3b556de243e955cda7ae9a3defd26750 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 04:11:00 2011 +0000 |
4 |
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 04:11:00 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a607079b |
7 |
|
8 |
bintree: warn for missing binhost TIMESTAMP |
9 |
|
10 |
This seems to be the case that's triggered in bug 353189 and bug 350139. |
11 |
|
12 |
--- |
13 |
pym/portage/dbapi/bintree.py | 2 ++ |
14 |
1 files changed, 2 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py |
17 |
index 027503c..254ed02 100644 |
18 |
--- a/pym/portage/dbapi/bintree.py |
19 |
+++ b/pym/portage/dbapi/bintree.py |
20 |
@@ -808,6 +808,8 @@ class binarytree(object): |
21 |
if not remote_timestamp: |
22 |
# no timestamp in the header, something's wrong |
23 |
pkgindex = None |
24 |
+ writemsg(_("\n\n!!! Binhost package index " \ |
25 |
+ " has no TIMESTAMP field.\n"), noiselevel=-1) |
26 |
else: |
27 |
if not self._pkgindex_version_supported(rmt_idx): |
28 |
writemsg(_("\n\n!!! Binhost package index version" \ |