add warning message about automatically generated templates

This commit is contained in:
Zach Prezkuta 2013-01-11 09:57:11 -07:00
commit 1656c63a55
630 changed files with 3148 additions and 611 deletions

View file

@ -94,6 +94,9 @@ def fix_element(element):
def convert(filename, tofilename, php_tpl):
header = ldelim + "*\n *\tAUTOMATICALLY GENERATED TEMPLATE\n *\tDO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN\n *\n *" + rdelim
tofilename.write(header)
for line in filename:
newline = ''
st_pos = 0