From 2348f6b3640529cbf2a093a0998451a396849608 Mon Sep 17 00:00:00 2001 From: asamoukin Date: Fri, 4 Jul 2008 14:02:04 +0000 Subject: [PATCH] git-svn-id: http://svn.calculate.ru/calculate2/calculate-lib/trunk@41 c91db197-33c1-4113-bf15-f8a5c547ca64 --- pym/cl_profile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/cl_profile.py b/pym/cl_profile.py index 6a0132a..5a9569d 100644 --- a/pym/cl_profile.py +++ b/pym/cl_profile.py @@ -1685,7 +1685,7 @@ class profile(_file, _terms): self._reTermBloc = re.compile("#\?(?P[a-zA-Z0-9\-_]+)\ (?P[\>\<\=\!\&\|]+\ [a-zA-Z0-9\>\<\=\!\|\&\-_\.]+)#\ -\n*(?P.+?)\n*#(?P=rTerm)#(?P\s+)",re.M|re.S) +\n*(?P.+?)\n*#(?P=rTerm)#(?P\s*)",re.M|re.S) # Объект с переменными self.objVar = objVar # Базовая директория переноса профилей "/mnt/calculate" или "/" и.т.д @@ -1841,6 +1841,7 @@ class profile(_file, _terms): if self.getError(): print self.getError() return False + self.closeFiles() def __getApplyHeadProfile(self ,newFile, oldFile): self.nameFileNew = self.absFileName(newFile)