diff options
| -rwxr-xr-x | bin/templ2pot.py | 5 |
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() |
