Browse Source

Bugfix

develop
Самоукин Алексей 11 years ago
parent
commit
9731b2e6e1
  1. 5
      pym/cl_template.py

5
pym/cl_template.py

@ -3527,12 +3527,11 @@ re.M|re.S)
def getTemplateDirs(self, dirsTemplates):
"""Check template variable cl_name in first directories and files"""
notAppendTemplateAndDirs = []
skipDirs = []
skipTemplates = []
for dirsTemplate in dirsTemplates:
filesAndDirs = map(lambda x: os.path.join(dirsTemplate,x),
os.listdir(dirsTemplate))
skipDirs = []
skipTemplates = []
for dirFile in filesAndDirs:
if os.path.isdir(dirFile):
flagDir = True

Loading…
Cancel
Save