From ae691eee353405fdd3ff2de60f29590047c03dae 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: Wed, 2 Jun 2010 17:12:18 +0400 Subject: [PATCH] Bugfix --- pym/cl_template.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/cl_template.py b/pym/cl_template.py index cc9a335..1341e74 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -34,8 +34,6 @@ import cl_overriding from cl_utils import _error, _toUNICODE, getModeFile, removeDir, typeFile,\ scanDirectory, convertStrListDict -from convertenv import convertEnv - import cl_lang tr = cl_lang.lang() tr.setLocalDomain('cl_lib') @@ -2316,6 +2314,7 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction): if os.access(envFile, os.R_OK): self.convObj = False elif os.access("/var/calculate/remote/calculate.env", os.R_OK): + from convertenv import convertEnv self.convObj = convertEnv() def equalTerm(self, term, localVars):