From 679e5f802483ab2eb0fb55c35fb783f27e4153fb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 5 Jan 2007 22:39:59 +0000 Subject: [PATCH] For bug #160299, make sure that emerge sees a somewhat valid COUNTER even when the counter is missing. svn path=/main/trunk/; revision=5465 --- bin/emerge | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/emerge b/bin/emerge index bb32835d1..3132b814c 100755 --- a/bin/emerge +++ b/bin/emerge @@ -744,6 +744,7 @@ class FakeVartree(portage.vartree): mycounter = long(metadata["COUNTER"]) except ValueError: mycounter = 0 + metadata["COUNTER"] = str(mycounter) other_counter = slot_counters.get(myslot_atom, None) if other_counter is not None: if other_counter > mycounter: -- 2.26.2