summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-31 16:09:54 +0000
committerMatt Wilson <msw@redhat.com>1999-08-31 16:09:54 +0000
commit3680dbdb4f85a9c35b77dc68bcad2bc50730def7 (patch)
tree50c7bb6cdd318dfa2efa7c5fa5514429a2bf3044 /todo.py
parenteccfcc23f614a3af4d63bb494b20d56961e5ae54 (diff)
downloadanaconda-3680dbdb4f85a9c35b77dc68bcad2bc50730def7.tar.gz
anaconda-3680dbdb4f85a9c35b77dc68bcad2bc50730def7.tar.xz
anaconda-3680dbdb4f85a9c35b77dc68bcad2bc50730def7.zip
x configuration
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/todo.py b/todo.py
index c3714ea10..44249e07b 100644
--- a/todo.py
+++ b/todo.py
@@ -9,6 +9,7 @@ import whrandom
import pcmcia
from simpleconfig import SimpleConfigFile
from mouse import Mouse
+from xf86config import XF86Config
def _(x):
return x
@@ -273,7 +274,7 @@ class Drives:
class ToDo:
def __init__(self, intf, method, rootPath, setupFilesystems = 1,
- installSystem = 1, mouse = None, instClass = None):
+ installSystem = 1, mouse = None, instClass = None, x = None):
self.intf = intf
self.method = method
self.mounts = {}
@@ -297,12 +298,16 @@ class ToDo:
self.liloDevice = None
self.timezone = None
self.upgrade = 0
- self.lilo = LiloConfiguration()
+ self.lilo = LiloConfiguration ()
self.initrdsMade = {}
self.liloImages = {}
if (not instClass):
raise TypeError, "installation class expected"
self.setClass(instClass)
+ if x:
+ self.x = x
+ else:
+ self.x = XF86Config ()
def umountFilesystems(self):
if (not self.setupFilesystems): return