From: Zac Medico Date: Wed, 23 Jul 2008 20:04:59 +0000 (-0000) Subject: Avoid "0 files checked ..." messages reported by Pesa. X-Git-Tag: v2.2_rc3~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=272d376814d2089100e955cea823ab6a4e9087c1;p=portage.git Avoid "0 files checked ..." messages reported by Pesa. svn path=/main/trunk/; revision=11177 --- 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 \