diff options
author | Chris Lumens <clumens@redhat.com> | 2008-09-22 13:24:44 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-09-22 13:27:15 -0400 |
commit | 4279889bc824edd98e26978b0d9c8a7ae84865d2 (patch) | |
tree | 771bbe1ec75dffbe286cce0f39968c46ab1a9dc8 /backend.py | |
parent | 8ec880dc86124c78d3bfb3f58cee6e569389896e (diff) | |
download | anaconda-4279889bc824edd98e26978b0d9c8a7ae84865d2.tar.gz anaconda-4279889bc824edd98e26978b0d9c8a7ae84865d2.tar.xz anaconda-4279889bc824edd98e26978b0d9c8a7ae84865d2.zip |
self.anaconda -> anaconda
Diffstat (limited to 'backend.py')
-rw-r--r-- | backend.py | 11 |
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: |