From c27ce5db3fb64005cebd41889bb862d4dd31284d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B0=D0=BC=D0=BE=D1=83=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?= Date: Mon, 29 Nov 2010 09:54:14 +0300 Subject: [PATCH] Bugfix. --- pym/cl_template.py | 2 +- pym/update_config/cl_update_config.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/cl_template.py b/pym/cl_template.py index 3196590..2e29ef9 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -3756,7 +3756,7 @@ variable 'cl-name'")) # Словарь примененных файлов шаблонов self.cltObj.dictProcessedTemplates = self.dictProcessedTemplates if self.cltFilter: - # Шаблоны + .clt которые будут применены + # Шаблоны + .clt которые будут применены self.cltObj.filterApplyTemplates +=\ map(lambda x: pathJoin('/', x.partition(self._baseDir)[2]), self.dictProcessedTemplates.keys()) diff --git a/pym/update_config/cl_update_config.py b/pym/update_config/cl_update_config.py index 6987a2a..6698609 100644 --- a/pym/update_config/cl_update_config.py +++ b/pym/update_config/cl_update_config.py @@ -334,7 +334,8 @@ class updateSystemConfigs(shareUpdateConfigs): clTempl = cl_template.template(clVars, cltObj=cltObject, printWarning=False) else: - clTempl = cl_template.template(clVars, printWarning=False) + clTempl = cl_template.template(clVars, cltObj=False, + printWarning=False) dirsFiles = clTempl.applyTemplates() nameAndVerPkg = nameProg + "-"+clVars.Get("cl_ver") if dirsFiles is False: