[IMP] let scaffold render files ending by .rst and .html

closes #4773
This commit is contained in:
Laurent Mignon (aka lmi)
2015-01-19 14:25:36 +01:00
committed by Xavier Morel
parent 447f8cf496
commit aef2150179
+1 -1
View File
@@ -121,7 +121,7 @@ class template(object):
os.makedirs(destdir)
with open(dest, 'wb') as f:
if ext not in ('.py', '.xml', '.csv', '.js'):
if ext not in ('.py', '.xml', '.csv', '.js', '.rst', '.html'):
f.write(content)
else:
env.from_string(content)\