diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-01-09 20:59:06 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-01-09 20:59:06 +0000 |
commit | b31771e526ef41b222fcbfea9c73c1b3c360a35b (patch) | |
tree | e976ff9f95f4430cb464c93d31839f8f4f083280 /iw | |
parent | 8b1792b725bd46475cb2584ff141f443aa63ab66 (diff) | |
download | anaconda-b31771e526ef41b222fcbfea9c73c1b3c360a35b.tar.gz anaconda-b31771e526ef41b222fcbfea9c73c1b3c360a35b.tar.xz anaconda-b31771e526ef41b222fcbfea9c73c1b3c360a35b.zip |
RPMTAG_FILENAMES doesn't seem to work correctly anymore. since we just need
to know how many files there are, RPMTAG_BASENAMES works just as well instead
of having to do the filename expansion (and thus using more memory)
Diffstat (limited to 'iw')
-rw-r--r-- | iw/progress_gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/progress_gui.py b/iw/progress_gui.py index 114672b47..c395bcdcb 100644 --- a/iw/progress_gui.py +++ b/iw/progress_gui.py @@ -95,7 +95,7 @@ class InstallProgressWindow_NEW (InstallWindow): self.sizeComplete = self.sizeComplete + (header[rpm.RPMTAG_SIZE]/1024) - self.filesComplete = self.filesComplete + (len(header[rpm.RPMTAG_FILENAMES])) + self.filesComplete = self.filesComplete + (len(header[rpm.RPMTAG_BASENAMES])) # check to see if we've started yet elapsedTime = timer.elapsed() |