Обновлена версия, исправлено выполнение шаблонов, исправлена проверка переменных.

master3.3
Mike Hiretsky 10 years ago
parent 5f080b1715
commit aa7a20869e

@ -4408,8 +4408,6 @@ gettext -d cl_template "$*"
# Считаем количество шаблонов
dirsTemplatesExists = filter(lambda x: os.path.exists(x), dirsTemplates)
if not dirsTemplatesExists and not self.cltObj:
self.setError(_("No such templates directory") +\
": %s"%", ".join(map(lambda x: "'%s'"%x ,dirsTemplates)))
return (self.createdDirs, self.filesApply)
# check cl_name in first template dirs and files
skipTemplates = self.getTemplateDirs(dirsTemplatesExists)

@ -1501,6 +1501,7 @@ class DataVars(SimpleDataVars):
afterlist = []
for i in inlist:
if not i.source and \
not i.check_after and \
Variable.check.__func__ == i.check.__func__ and \
Variable.uncompatible.__func__ == i.uncompatible.__func__:
yield i

@ -41,4 +41,4 @@ class VariableClVer(ReadonlyVariable):
"""
Package version
"""
value = "3.2.1"
value = "3.2.2"

Loading…
Cancel
Save