summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-01-26 19:23:19 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-01-26 19:23:19 +0000
commit1ead866134b62f47888844f56516276a275e4650 (patch)
tree340b7fef38dea6189e6cf7711fe2982032b0fd9a /instdata.py
parentd43ee38fe42218c99174b5ff0e31ecbc87c9e661 (diff)
downloadanaconda-1ead866134b62f47888844f56516276a275e4650.tar.gz
anaconda-1ead866134b62f47888844f56516276a275e4650.tar.xz
anaconda-1ead866134b62f47888844f56516276a275e4650.zip
* instdata.py (InstallData): Set backend to None by default, only
read it if caller gives us a backend (makes rescue mode work).
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/instdata.py b/instdata.py
index d1c2b989b..a9568acf8 100644
--- a/instdata.py
+++ b/instdata.py
@@ -215,10 +215,12 @@ class InstallData:
os.chmod(filename, 0600)
- def __init__(self, extraModules, floppyDevice, methodstr, backend):
+ def __init__(self, extraModules, floppyDevice, methodstr, backend = None):
self.instLanguage = language.Language()
self.keyboard = keyboard.Keyboard()
- self.backend = backend
+
+ if backend is not None:
+ self.backend = backend
self.mouse = None
self.monitor = None