Fix typo in xterm titles total package count which causes it to show the
authorZac Medico <zmedico@gentoo.org>
Sun, 6 Jul 2008 00:01:31 +0000 (00:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 6 Jul 2008 00:01:31 +0000 (00:01 -0000)
current package instead. Thanks to Arfrever for this patch.

svn path=/main/trunk/; revision=10948

pym/_emerge/__init__.py

index 0665701f760ff4b44a4061f63914efdb2a077d4d..daa04980de99da00e31fb530a351c55ed1f8ccce 100644 (file)
@@ -1934,7 +1934,7 @@ class EbuildBuild(EbuildBuildDir):
                                msg = " === (%s of %s) Compiling/Merging (%s::%s)" % \
                                        (pkg_count.curval, pkg_count.maxval, pkg.cpv, ebuild_path)
                                short_msg = "emerge: (%s of %s) %s Compile" % \
-                                       (pkg_count.curval, pkg_count.curval, pkg.cpv)
+                                       (pkg_count.curval, pkg_count.maxval, pkg.cpv)
                                logger.log(msg, short_msg=short_msg)
 
                                build = EbuildExecuter(pkg=pkg, scheduler=scheduler,