[pywin32-checkins] pywin32/com/win32comext/bits/test show_all_jobs.py, 1.1.2.1, 1.1.2.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-02-08 05:48:43
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/bits/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29970 Modified Files: Tag: sidnei-bits show_all_jobs.py Log Message: had "total" and "transferred" reversed. Index: show_all_jobs.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/bits/test/Attic/show_all_jobs.py,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** show_all_jobs.py 8 Feb 2008 05:43:59 -0000 1.1.2.1 --- show_all_jobs.py 8 Feb 2008 05:48:47 -0000 1.1.2.2 *************** *** 32,37 **** print "Created/Modified/Finished times:", [str(t) for t in job.GetTimes()] bytes_tot, bytes_xf, files_tot, files_xf = job.GetProgress() ! print "Bytes: %d complete of %d total" % (bytes_tot, bytes_xf) ! print "Files: %d complete of %d total" % (files_tot, files_xf) for f in job.EnumFiles(): bytes, total, done = f.GetProgress() --- 32,37 ---- print "Created/Modified/Finished times:", [str(t) for t in job.GetTimes()] bytes_tot, bytes_xf, files_tot, files_xf = job.GetProgress() ! print "Bytes: %d complete of %d total" % (bytes_xf, bytes_tot) ! print "Files: %d complete of %d total" % (files_xf, files_tot) for f in job.EnumFiles(): bytes, total, done = f.GetProgress() |