diff options
author | Mike Fulbright <msf@redhat.com> | 2001-02-08 19:32:01 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-02-08 19:32:01 +0000 |
commit | dba567dea4d9b08de2abec0235c659d79b8498e4 (patch) | |
tree | 8b3b68e3adab3b92230f6e45d397551cdf3a4985 /iw/progress_gui.py | |
parent | 2852388145742dab6ed38b80754250271b88997f (diff) | |
download | anaconda-dba567dea4d9b08de2abec0235c659d79b8498e4.tar.gz anaconda-dba567dea4d9b08de2abec0235c659d79b8498e4.tar.xz anaconda-dba567dea4d9b08de2abec0235c659d79b8498e4.zip |
fix way we print elapsed time
Diffstat (limited to 'iw/progress_gui.py')
-rw-r--r-- | iw/progress_gui.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/iw/progress_gui.py b/iw/progress_gui.py index 93de0efb5..ac2f6ba1f 100644 --- a/iw/progress_gui.py +++ b/iw/progress_gui.py @@ -71,7 +71,7 @@ class InstallProgressWindow (InstallWindow): amt = amt % 60 secs = amt - return "%01d:%02d.%02d" % (int(hours) ,int(min), int(secs)) + return "%01d:%02d:%02d" % (int(hours) ,int(min), int(secs)) threads_enter () self.numComplete = self.numComplete + 1 @@ -252,9 +252,9 @@ class InstallProgressWindow (InstallWindow): clist.set_column_justification (1, JUSTIFY_RIGHT) clist.set_column_justification (2, JUSTIFY_RIGHT) clist.set_column_justification (3, JUSTIFY_RIGHT) - clist.append ((_("Total"), "0", "0 M", "0:00.00")) - clist.append ((_("Completed"), "0", "0 M", "0:00.00")) - clist.append ((_("Remaining"), "0", "0 M", "0:00.00")) + clist.append ((_("Total"), "0", "0 M", "0:00:00")) + clist.append ((_("Completed"), "0", "0 M", "0:00:00")) + clist.append ((_("Remaining"), "0", "0 M", "0:00:00")) self.frobnicatingClist = 0 clist.connect_after ("size_allocate", self.allocate) |