diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-05 22:39:59 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-05 22:39:59 +0000 |
commit | 679e5f802483ab2eb0fb55c35fb783f27e4153fb (patch) | |
tree | fd7283efb2a3685eb43cce59102a7cb77578675f | |
parent | 32967feb2a1d7f6ef4832a6714b08b6846c74df8 (diff) | |
download | portage-679e5f802483ab2eb0fb55c35fb783f27e4153fb.tar.gz portage-679e5f802483ab2eb0fb55c35fb783f27e4153fb.tar.bz2 portage-679e5f802483ab2eb0fb55c35fb783f27e4153fb.zip |
For bug #160299, make sure that emerge sees a somewhat valid COUNTER even when the counter is missing.
svn path=/main/trunk/; revision=5465
-rwxr-xr-x | bin/emerge | 1 |
1 files changed, 1 insertions, 0 deletions
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: |