summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2005-11-21 22:14:10 +0000
committerDavid Cantrell <dcantrell@redhat.com>2005-11-21 22:14:10 +0000
commit60cc1477426b5d3a203c1ed6ce4915ca30f0be25 (patch)
tree44f8a233f9da62c138438a54e9b260f886dc9881 /gui.py
parent3ed8248bc7310e23ea2d989c7a029a0314656543 (diff)
downloadanaconda-60cc1477426b5d3a203c1ed6ce4915ca30f0be25.tar.gz
anaconda-60cc1477426b5d3a203c1ed6ce4915ca30f0be25.tar.xz
anaconda-60cc1477426b5d3a203c1ed6ce4915ca30f0be25.zip
(1) Jeremy said he liked the warning and (2) my fix wasn't actually correct.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py2
1 files changed, 1 insertions, 1 deletions
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