From 1fd718688cb57e05be373c9582fccb08af6cdb2d 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: Thu, 10 Jun 2010 10:14:32 +0400 Subject: [PATCH] Bugfix --- pym/cl_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/cl_template.py b/pym/cl_template.py index df4dfb9..50fc1d7 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -2824,7 +2824,7 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction): value = str(self.objVar.Get(nameVar)) except: self.printErrTemplate() - print _("not found template variable %s")%str(strNum) + print _("not found template variable %s")%str(nameVar) cl_overriding.exit(1) replace = value.replace(old,new) textTemplateTmp = textTemplateTmp[:resS.start()] + replace +\