From 4b891bc1c4297959cec99a3d6872c2b95ff37582 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: Fri, 28 May 2010 17:13:49 +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 d23b2b6..fee6b45 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -2883,7 +2883,7 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction): cl_overriding.exit(1) textLine = terms[0] vals = textLine.split(".") - if vals!= 2: + if len(vals)!= 2: self.printErrTemplate() cl_overriding.exit(1) if filter(lambda x: not x.strip(), vals):