summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-01-05 15:45:28 +0000
committerChris Lumens <clumens@redhat.com>2006-01-05 15:45:28 +0000
commit85838cce25872a9a2ece9b7d8435f5cfa7b19d52 (patch)
treea77786e5c3679c68e70db133f517c1d3cceeaa87
parent6e688ebc537dd2ce1e1ca23159acaeb3075aff95 (diff)
downloadanaconda-85838cce25872a9a2ece9b7d8435f5cfa7b19d52.tar.gz
anaconda-85838cce25872a9a2ece9b7d8435f5cfa7b19d52.tar.xz
anaconda-85838cce25872a9a2ece9b7d8435f5cfa7b19d52.zip
Set a default on updpct.
-rw-r--r--ChangeLog4
-rw-r--r--text.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 975d1e8a0..fff9bc5aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-05 Chris Lumens <clumens@redhat.com>
+
+ * text.py (ProgressWindow.__init__): Set a default on updpct.
+
2006-01-04 David Cantrell <dcantrell@redhat.com>
* iw/GroupSelector.py (GroupSelector.populateCategories): Display
diff --git a/text.py b/text.py
index 4529aa277..f64c5d54d 100644
--- a/text.py
+++ b/text.py
@@ -125,7 +125,7 @@ class ProgressWindow:
def refresh(self):
pass
- def __init__(self, screen, title, text, total, updpct):
+ def __init__(self, screen, title, text, total, updpct = 0.05):
self.multiplier = 1
if total == 1.0:
self.multiplier = 100