Browse Source

Добавлена очистка аттрибута __levelNumber в методе _Get

git-svn-id: http://svn.calculate.ru/calculate2/calculate-lib/trunk@1155 c91db197-33c1-4113-bf15-f8a5c547ca64
develop
asamoukin 14 years ago
parent
commit
2a898efef1
  1. 3
      pym/cl_base.py

3
pym/cl_base.py

@ -659,10 +659,11 @@ class DataVars(object):
len(self.__LevelsVar)>1:
links = self.__getLinks(self.__LevelsVar)
for name in links.keys():
#print name
for nameLink in links[name].keys():
val = self.__getattribute__(nameLink).Get()
self.__getattribute__(name).dependValues[nameLink] = val
if self.__levelNumber == 0:
self.__LevelsVar = []
return ret
def Get(self, nameVar):

Loading…
Cancel
Save