summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xgui.py2
2 files changed, 1 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index da87a0bfb..bfe933f13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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).
diff --git a/gui.py b/gui.py
index b131e6130..1055fccb9 100755
--- a/gui.py
+++ b/gui.py
@@ -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