diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-04-05 20:47:48 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-04-05 20:47:48 +0000 |
commit | ede9c55507bbbdcdab6577d4806170aeeec2bd13 (patch) | |
tree | 8c15fd462778be92fd022e860bb02ee7682acda9 /livecd.py | |
parent | 7d9c0629470fcfb68a41b0c8b4395de65c910d59 (diff) | |
download | anaconda-ede9c55507bbbdcdab6577d4806170aeeec2bd13.tar.gz anaconda-ede9c55507bbbdcdab6577d4806170aeeec2bd13.tar.xz anaconda-ede9c55507bbbdcdab6577d4806170aeeec2bd13.zip |
2007-04-05 Jeremy Katz <katzj@redhat.com>
* livecd.py (LiveCDCopyBackend.doInstall): Make the progress advance.
Diffstat (limited to 'livecd.py')
-rw-r--r-- | livecd.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend): rootfd = os.open("/dev/" + rootfs, os.O_WRONLY) readamt = 1024 * 1024 * 8 # 8 megs at a time - size = anaconda.method.getLiveSizeMB() * 1024 * 1024 + size = float(anaconda.method.getLiveSizeMB() * 1024 * 1024) copied = 0 while copied < size: buf = os.read(osfd, readamt) |