Fix "Initializing counter" message to show the correct value.
authorZac Medico <zmedico@gentoo.org>
Tue, 25 Dec 2007 03:20:40 +0000 (03:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 25 Dec 2007 03:20:40 +0000 (03:20 -0000)
svn path=/main/trunk/; revision=9053

pym/portage/dbapi/vartree.py

index 1c9aace28ea662c5698d82348ff56175a95feada..0c3a0eacbb1636fd75c0435e63f49a7d6aa405c2 100644 (file)
@@ -650,7 +650,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