Hide message about remove squash images if they absent

master
Mike Hiretsky 14 years ago
parent c48523ff83
commit bb62bfac26

@ -223,8 +223,12 @@ class cl_builder(color_print):
self.printSUCCESS(_("Image will be created in: %s")%
self.clVars.Get('cl_builder_iso_path'))
self.printSUCCESS(_("Follow squash images will be removed: %s\n")%
", ".join(self.clVars.Get('cl_builder_remove_squash')))
if self.clVars.Get('cl_builder_remove_squash'):
self.printSUCCESS(
_("Follow squash images will be removed: %s\n")%
", ".join(self.clVars.Get('cl_builder_remove_squash')))
else:
self.defaultPrint("\n")
def checkVariables(self,rescratch=False):
"""Check values of variables"""

Loading…
Cancel
Save