Bugfix: duplicate none, noformat and default - available

master3.3
Mike Hiretsky 14 years ago
parent 7560d1366f
commit 6073665dd1

@ -339,7 +339,7 @@ class convertDictOpt:
self._propertiesFileSystem.keys()
def getAllAvailableFileSystemOpt(self):
return filter(lambda x: not x in ("default","noformat") and
return filter(lambda x: x in ("default","noformat") or
(not "makefs" in self._fileSystemOpt[x] or
pathexists(self._fileSystemOpt[x]["makefs"])),
self.getAllSupportFileSystemOpt())
@ -879,7 +879,8 @@ class cl_install(color_print):
return False
# detect duplicate mountPoints
dupPoint = filter(lambda x: cmdMountPoints.count(x)>1,
dupPoint = filter(lambda x: x != "none" and
cmdMountPoints.count(x)>1,
set(cmdMountPoints))
if dupPoint:
self.printERROR(_("Duplicate mount points %s")\

Loading…
Cancel
Save