summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-23 20:04:59 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-23 20:04:59 +0000
commit272d376814d2089100e955cea823ab6a4e9087c1 (patch)
treeb16cee6b92f6b4cdf15191a3ea547a341683f48f
parent4c0707d8a4bcc6324f1acd3338957395aafc1c27 (diff)
downloadportage-272d376814d2089100e955cea823ab6a4e9087c1.tar.gz
portage-272d376814d2089100e955cea823ab6a4e9087c1.tar.bz2
portage-272d376814d2089100e955cea823ab6a4e9087c1.zip
Avoid "0 files checked ..." messages reported by Pesa.
svn path=/main/trunk/; revision=11177
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 837176331..251f62231 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2265,7 +2265,7 @@ class dblink(object):
showMessage("%s checking %d files for package collisions\n" % \
(green("*"), len(mycontents)))
for i, f in enumerate(mycontents):
- if i % 1000 == 0:
+ if i % 1000 == 0 and i != 0:
showMessage("%d files checked ...\n" % i)
if scheduler is not None and \