Fix "Initializing counter" message to show the correct value.
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2007 15:58:54 +0000 (15:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2007 15:58:54 +0000 (15:58 -0000)
(trunk r9053)

svn path=/main/branches/2.1.2/; revision=9070

pym/portage.py

index e8bd8027eb4243f075ea0c884c49d57c8cc0d228..f791b6c69bb0fa9009c8ec422ac8f6f2405615c6 100644 (file)
@@ -6539,7 +6539,7 @@ class vardbapi(dbapi):
                if counter != real_counter:
                        changed = True
                        writemsg("!!! Initializing COUNTER to " + \
-                               "value of %d\n" % counter, noiselevel=-1)
+                               "value of %d\n" % real_counter, noiselevel=-1)
 
                # Never trust the counter file, since having a
                # corrupt value that is too low there can trigger