diff --git a/pym/update_config/cl_update_config.py b/pym/update_config/cl_update_config.py index 480f1f0..6987a2a 100644 --- a/pym/update_config/cl_update_config.py +++ b/pym/update_config/cl_update_config.py @@ -328,13 +328,13 @@ class updateSystemConfigs(shareUpdateConfigs): nameProg = clVars.Get("cl_name") if nameProg == "calculate-install": configFiles = self.scanProtectDirs(configPath) - cltObject = cl_template.templateClt(clVars) if configFiles: + cltObject = cl_template.templateClt(clVars) cltObject.filterApplyTemplates = configFiles - else: - cltObject.filterApplyTemplates = [] - clTempl = cl_template.template(clVars, cltObj=cltObject, + clTempl = cl_template.template(clVars, cltObj=cltObject, printWarning=False) + else: + clTempl = cl_template.template(clVars, printWarning=False) dirsFiles = clTempl.applyTemplates() nameAndVerPkg = nameProg + "-"+clVars.Get("cl_ver") if dirsFiles is False: