From: Zac Medico Date: Fri, 5 Jan 2007 22:39:59 +0000 (-0000) Subject: For bug #160299, make sure that emerge sees a somewhat valid COUNTER even when the... X-Git-Tag: v2.1.2~156 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=679e5f802483ab2eb0fb55c35fb783f27e4153fb;p=portage.git For bug #160299, make sure that emerge sees a somewhat valid COUNTER even when the counter is missing. svn path=/main/trunk/; revision=5465 --- 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: