|
|
|
@ -4205,7 +4205,11 @@ re.M|re.S)
|
|
|
|
|
return (applyDir, True, crDirs)
|
|
|
|
|
try:
|
|
|
|
|
FD = open(templateDirFile)
|
|
|
|
|
textTemplate = FD.readline()
|
|
|
|
|
textTemplate = FD.readline().rstrip()
|
|
|
|
|
buf = textTemplate
|
|
|
|
|
while buf and textTemplate.endswith('\\'):
|
|
|
|
|
buf = FD.readline()
|
|
|
|
|
textTemplate = "%s %s"%(textTemplate[:-1],buf.rstrip())
|
|
|
|
|
FD.close()
|
|
|
|
|
except:
|
|
|
|
|
self.setError(_("Failed to open the template") + ": " +\
|
|
|
|
|