|
|
|
@ -943,6 +943,13 @@ class cl_install(color_print):
|
|
|
|
|
target.multipartition=objMultiPartitions
|
|
|
|
|
return target
|
|
|
|
|
|
|
|
|
|
def closeClTemplate(self):
|
|
|
|
|
if self.clTempl:
|
|
|
|
|
if self.clTempl.cltObj:
|
|
|
|
|
self.clTempl.cltObj.closeFiles()
|
|
|
|
|
self.clTempl.closeFiles()
|
|
|
|
|
self.clTempl = None
|
|
|
|
|
|
|
|
|
|
def applyTemplates(self,directory):
|
|
|
|
|
"""Apply templates for root of system."""
|
|
|
|
|
#self.clVars.Set("cl_root_path",directory, True)
|
|
|
|
@ -1837,8 +1844,7 @@ the system") + " (yes/no)"
|
|
|
|
|
if error:
|
|
|
|
|
self.printByResult(False)
|
|
|
|
|
try:
|
|
|
|
|
if self.clTempl:
|
|
|
|
|
self.clTempl.closeFiles()
|
|
|
|
|
self.closeClTemplate()
|
|
|
|
|
if sourceDistr:
|
|
|
|
|
self.printMessageForTest(_("Releasing source distributive"))
|
|
|
|
|
sourceDistr.close()
|
|
|
|
|