summaryrefslogtreecommitdiffstats
path: root/web/utils
diff options
context:
space:
mode:
Diffstat (limited to 'web/utils')
-rwxr-xr-xweb/utils/genpopo7
1 files changed, 3 insertions, 4 deletions
diff --git a/web/utils/genpopo b/web/utils/genpopo
index 67c02284..a2a3ac43 100755
--- a/web/utils/genpopo
+++ b/web/utils/genpopo
@@ -140,7 +140,7 @@ if force:
f = open(po,'w')
f.write(INC_HEADER)
f.write('\ninclude_once(\"en/%s\");\n' % po)
- f.write('\n?>')
+ f.write('\n')
f.close()
f = open("en/"+po,'w')
@@ -150,7 +150,6 @@ if force:
f.write('$_t["en"]["%s"] = "%s";\n' % (term, term))
f.write("\n");
- f.write("?>");
f.close()
else:
# need to leave existing file intact, and only append on terms that are new
@@ -184,13 +183,13 @@ else:
f = open(po,'w')
f.write("".join(contents))
f.write('\ninclude_once(\"en/%s\");\n' % po)
- f.write("\n?>");
+ f.write("\n");
f.close()
else:
f = open(po,'w')
f.write(INC_HEADER)
f.write('\ninclude_once(\"en/%s\");\n' % po)
- f.write('\n?>')
+ f.write('\n')
f.close()
# first read in file contents so we can hash what already exists