summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-18 22:42:08 +0000
committerMatt Wilson <msw@redhat.com>2000-07-18 22:42:08 +0000
commit3869a31504ce4499e49dcf416361392deea73fe1 (patch)
treef87ca387d2e96fff24bb6bb548fe88cb1157cf41 /text.py
parent197cfc33a773150f8c0d3b7a87420d9c1e4108b5 (diff)
downloadanaconda-3869a31504ce4499e49dcf416361392deea73fe1.tar.gz
anaconda-3869a31504ce4499e49dcf416361392deea73fe1.tar.xz
anaconda-3869a31504ce4499e49dcf416361392deea73fe1.zip
missed this one
Diffstat (limited to 'text.py')
-rw-r--r--text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.py b/text.py
index 184a652b0..847dfa5ca 100644
--- a/text.py
+++ b/text.py
@@ -548,7 +548,7 @@ class InstallProgressWindow:
return "%01d:%02d.%02d" % (int(hours) ,int(min), int(secs))
self.numComplete = self.numComplete + 1
- self.sizeComplete = self.sizeComplete + header[rpm.RPMTAG_SIZE]
+ self.sizeComplete = self.sizeComplete + (header[rpm.RPMTAG_SIZE] / 1024 / 1024)
self.numCompleteW.setText("%12d" % self.numComplete)
self.sizeCompleteW.setText("%10dM" % (self.sizeComplete))
self.numRemainingW.setText("%12d" % (self.numTotal - self.numComplete))