From: David F. <dav...@us...> - 2004-10-28 13:07:53
|
Update of /cvsroot/translate/src/translate/misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3812 Modified Files: optrecurse.py Log Message: fixed check for whether we need to know the number of files (console was old option) should now go to 100% in default case (was just using count instead of percent because of this) Index: optrecurse.py =================================================================== RCS file: /cvsroot/translate/src/translate/misc/optrecurse.py,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- optrecurse.py 4 Oct 2004 07:21:07 -0000 1.10 +++ optrecurse.py 28 Oct 2004 13:07:42 -0000 1.11 @@ -258,7 +258,7 @@ def initprogressbar(self, allfiles, options): """sets up a progress bar appropriate to the options and files""" - if options.progress in ('console', 'verbose'): + if options.progress in ('bar', 'verbose'): self.progressbar = self.progresstypes[options.progress](0, len(allfiles)) print "processing %d files..." % len(allfiles) else: |