|
|
|
@ -3804,8 +3804,10 @@ re.M|re.S)
|
|
|
|
|
else:
|
|
|
|
|
flagDir = False
|
|
|
|
|
templatePath = dirFile
|
|
|
|
|
if os.path.isfile(templatePath) and\
|
|
|
|
|
self.getFileType(templatePath) != "bin":
|
|
|
|
|
if os.path.isfile(templatePath):
|
|
|
|
|
if self.getFileType(templatePath) == "bin":
|
|
|
|
|
skipTemplates.append(dirFile)
|
|
|
|
|
else:
|
|
|
|
|
textTemplate = open(templatePath).read()
|
|
|
|
|
if textTemplate:
|
|
|
|
|
headerLine = self.getHeaderText(textTemplate)
|
|
|
|
@ -3820,6 +3822,8 @@ re.M|re.S)
|
|
|
|
|
skipDirs.append(dirFile)
|
|
|
|
|
else:
|
|
|
|
|
skipTemplates.append(dirFile)
|
|
|
|
|
else:
|
|
|
|
|
skipTemplates.append(dirFile)
|
|
|
|
|
if skipDirs or skipTemplates:
|
|
|
|
|
# print warning
|
|
|
|
|
from cl_print import color_print
|
|
|
|
|