summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backend.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/backend.py b/backend.py
index ee4dad17b..6f0aaf8f6 100644
--- a/backend.py
+++ b/backend.py
@@ -28,6 +28,7 @@ import logging
from syslogd import syslog
from constants import *
+import isys
import kickstart
import packages
@@ -140,14 +141,14 @@ class AnacondaBackend:
# If we've booted off the first CD/DVD (so, not the boot.iso) then
# copy the install.img to the filesystem and switch loopback devices
# to there. Otherwise we won't be able to unmount and swap media.
- if not self.anaconda.mediaDevice or not os.path.exists(installimg):
+ if not anaconda.mediaDevice or not os.path.exists(installimg):
return
- self._loopbackFile = "%s%s/rhinstall-install.img" % (self.anaconda.rootPath,
- anaconda.id.fsset.filesystemSpace(self.anaconda.rootPath)[0][0])
+ self._loopbackFile = "%s%s/rhinstall-install.img" % (anaconda.rootPath,
+ anaconda.id.fsset.filesystemSpace(anaconda.rootPath)[0][0])
try:
- win = self.anaconda.intf.waitWindow(_("Copying File"),
+ win = anaconda.intf.waitWindow(_("Copying File"),
_("Transferring install image to hard drive..."))
shutil.copyfile(installimg, self._loopbackFile)
win.pop()
@@ -166,7 +167,7 @@ class AnacondaBackend:
"to your hard drive. You are probably out of disk "
"space.")
- self.anaconda.intf.messageWindow(_("Error"), msg)
+ anaconda.intf.messageWindow(_("Error"), msg)
try:
os.unlink(self._loopbackFile)
except: