Fix cl_install syntax error

master3.3
Mike Hiretsky 14 years ago
parent 978fd2397d
commit f8ecff27e5

@ -124,10 +124,13 @@ class cl_install(color_print):
self.clVars.Get('os_clock_timezone'))
self.defaultPrint(_("Location\n"))
workingVol = filter(lambda x: x[1] == '/',
zip(self.clVars.Get('os_disk_dev'),
self.clVars.Get('os_disk_load'))) or [("unknown",)]
self.printSUCCESS(_("Working volume")+": %s"%
self.clVars.Get('os_root_dev'))
workingVol[0][0])
self.printSUCCESS(_("Installation volume")+": %s"%
"<needed>")
self.clVars.Get('os_root_dev'))
self.printSUCCESS(_("File system")+": %s"%
"<needed>")
self.printSUCCESS(_("Swap disk")+": %s"%
@ -180,7 +183,8 @@ class cl_install(color_print):
targetDistr = None
error = None
try:
targetDistr = self.getTargetDistributive(disk,buildermode)
targetDistr = self.getTargetDistributive(
self.clVars.Get('os_root_dev'),buildermode)
distRep = DistributiveRepository('/usr/calculate/share/linux')
sourceDistr = distRep.getLastDistributive(
march=self.clVars.Get('os_arch_machine'),

Loading…
Cancel
Save