diff options
author | Zach Prezkuta <fermion@gmx.com> | 2013-01-11 09:57:23 -0700 |
---|---|---|
committer | Zach Prezkuta <fermion@gmx.com> | 2013-01-11 09:57:23 -0700 |
commit | 34dc11d68ee474cf7dbb1f2e86befe4bae3caf42 (patch) | |
tree | 8d1abc369802498ff0e524839fc80b24a8be048c /mods/friendica-to-smarty-tpl.py | |
parent | 1c01cba21ebebe7d1b2586c2ef355e930ae3e722 (diff) | |
download | volse-hubzilla-34dc11d68ee474cf7dbb1f2e86befe4bae3caf42.tar.gz volse-hubzilla-34dc11d68ee474cf7dbb1f2e86befe4bae3caf42.tar.bz2 volse-hubzilla-34dc11d68ee474cf7dbb1f2e86befe4bae3caf42.zip |
add warning messae about automatically generated templates
Diffstat (limited to 'mods/friendica-to-smarty-tpl.py')
-rwxr-xr-x | mods/friendica-to-smarty-tpl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mods/friendica-to-smarty-tpl.py b/mods/friendica-to-smarty-tpl.py index 369b8ea9a..9e4e52671 100755 --- a/mods/friendica-to-smarty-tpl.py +++ b/mods/friendica-to-smarty-tpl.py @@ -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 |