summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
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 "