diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | gui.py | 2 |
2 files changed, 1 insertions, 6 deletions
@@ -1,8 +1,3 @@ -2005-11-21 David Cantrell <dcantrell@redhat.com> - - * gui.py (ProgressWindow.set): Make sure the float sent to set_fraction() - for the progress bar percentage falls between 0 and 1. - 2005-11-21 Chris Lumens <clumens@redhat.com> * anaconda: Add email.Utils to traceOnly loading (#173169). @@ -529,7 +529,7 @@ class ProgressWindow: def set (self, amount): # only update widget if we've changed by 5% curval = self.progress.get_fraction() - newval = (float (amount) / self.total) / 100 + newval = float (amount) / self.total if newval < 0.998: if (newval - curval) < 0.05 and newval > curval: return |