summaryrefslogtreecommitdiffstats
path: root/iw/lilo.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/lilo.py')
-rw-r--r--iw/lilo.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/iw/lilo.py b/iw/lilo.py
index e0b6a3691..fb0f39be9 100644
--- a/iw/lilo.py
+++ b/iw/lilo.py
@@ -18,13 +18,16 @@ class LiloWindow (InstallWindow):
ics.setTitle (_("Lilo Configuration"))
ics.setNextEnabled (1)
self.type = None
+ self.bootdisk = None
def getNext (self):
- if self.bootdisk.get_active ():
- self.todo.bootdisk = 1
- else:
- self.todo.bootdisk = 0
+ if self.bootdisk:
+ if self.bootdisk.get_active ():
+ self.todo.bootdisk = 1
+ else:
+ self.todo.bootdisk = 0
+ # XXX why is this here?
return
if self.lilo.get_active ():
self.todo.setLiloLocation (None)