summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/templ2pot.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/templ2pot.py b/bin/templ2pot.py
index e6f8e0862..4f027eb08 100755
--- a/bin/templ2pot.py
+++ b/bin/templ2pot.py
@@ -11,12 +11,13 @@ Options:
-h, --help
Inputfiles are english templates. Outputs are written to stdout.
-
"""
import sys
import getopt
+
+
try:
import paths
from Mailman.i18n import _
@@ -25,6 +26,7 @@ except ImportError:
EMPTYSTRING = ''
+
def usage(code, msg=''):
if code:
@@ -112,6 +114,7 @@ def main():
print 'msgid', normalize(s)
print 'msgstr ""\n'
+
if __name__ == '__main__':
main()