summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-03-21 21:32:00 +0000
committerChris Lumens <clumens@redhat.com>2006-03-21 21:32:00 +0000
commita70e4be9a0b87d8bb75712f22b04ee3ad5de28aa (patch)
treecafc4523d4a3cfcd6dcd55f16c985a24f490b403 /image.py
parent4b4ae92800dbb96e986eddb74e8aa1d1ad7adf20 (diff)
downloadanaconda-a70e4be9a0b87d8bb75712f22b04ee3ad5de28aa.tar.gz
anaconda-a70e4be9a0b87d8bb75712f22b04ee3ad5de28aa.tar.xz
anaconda-a70e4be9a0b87d8bb75712f22b04ee3ad5de28aa.zip
Rip out the guts of iutil. Die die die.
Diffstat (limited to 'image.py')
-rw-r--r--image.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/image.py b/image.py
index b5dc2643d..5c4664774 100644
--- a/image.py
+++ b/image.py
@@ -153,11 +153,15 @@ class CdromInstallMethod(ImageInstallMethod):
"/rhinstall-stage2.img")
try:
+ win = self.waitWindow (_("Copying File"),
+ _("Transferring install image to hard drive..."))
iutil.copyFile("%s/%s/base/stage2.img" % (self.tree, productPath),
- self.loopbackFile,
- (self.progressWindow, _("Copying File"),
- _("Transferring install image to hard drive...")))
+ self.loopbackFile)
+ win.pop()
except Exception, e:
+ if win:
+ win.pop()
+
log.critical("error transferring stage2.img: %s" %(e,))
self.messageWindow(_("Error"),
_("An error occurred transferring the install image "