|
|
|
@ -534,7 +534,7 @@ class cl_builder(color_print):
|
|
|
|
|
{'from':source,'to':target})
|
|
|
|
|
self.printByResult(True)
|
|
|
|
|
|
|
|
|
|
def setAssembleData(self,newprofile):
|
|
|
|
|
def setAssembleData(self,newprofile,printVars=None):
|
|
|
|
|
"""Get assemble data from assemble.env"""
|
|
|
|
|
envData = iniParser(self.envFile)
|
|
|
|
|
if newprofile == None:
|
|
|
|
@ -553,6 +553,8 @@ class cl_builder(color_print):
|
|
|
|
|
likeProfile = filter(reProfile.search,
|
|
|
|
|
self.clVars.Get('cl_builder_distro'))
|
|
|
|
|
if len(likeProfile) != 1:
|
|
|
|
|
if printVars:
|
|
|
|
|
return True
|
|
|
|
|
if newprofile != "list":
|
|
|
|
|
if not newprofile:
|
|
|
|
|
self.printERROR(_("need specify '--profile'"))
|
|
|
|
|