Fix fault by get cl_builder_path in scratch mode.

master
Mike Hiretsky 13 years ago
parent bb085d613e
commit 8ac37e786d

@ -162,7 +162,7 @@ class fillVars(object, varsShare):
inidata = iniParser(inifile)
res = inidata.getVar("assemble","cl_assemble_path",
checkExistVar=True)
if res[0]:
if res and res[0]:
return _toUNICODE(res[1]).encode('utf-8')
return "/mnt/builder"
return "/"

Loading…
Cancel
Save