From c732a532eb519d3de3689b2343dc01de2ae757e0 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Thu, 19 Aug 2010 13:28:25 +0400 Subject: [PATCH] Bugfix clt process --- pym/cl_apply_template.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/cl_apply_template.py b/pym/cl_apply_template.py index 06893a7..960767f 100644 --- a/pym/cl_apply_template.py +++ b/pym/cl_apply_template.py @@ -110,8 +110,11 @@ subdirectories %s")%', '.join(dirsTemplates)) for errMess in clTempl.getError().splitlines(): self.printERROR(errMess) return False - self.printWARNING(_("Package %s has changed files")%calcPkg+":") - self.printWARNING(" "*5 + nameFile) + if nameFile is True: + self.printWARNING(_("Template %s not applied")%cltTemplatePath) + else: + self.printWARNING(_("Package %s has changed files")%calcPkg+":") + self.printWARNING(" "*5 + nameFile) return True def printVars(self, opts=["all"]):