diff options
| author | bwarsaw | 2005-12-30 18:52:00 +0000 |
|---|---|---|
| committer | bwarsaw | 2005-12-30 18:52:00 +0000 |
| commit | 0589a8a58e94ec29644c9d665055b4a1be9953b5 (patch) | |
| tree | ed1d3f9f82e2d7a37ce2d323d1b64f24a669a842 /bin/templ2pot.py | |
| parent | 2c1d1dc75772f830222b16e037b8185bcfbf920e (diff) | |
| download | mailman-0589a8a58e94ec29644c9d665055b4a1be9953b5.tar.gz mailman-0589a8a58e94ec29644c9d665055b4a1be9953b5.tar.zst mailman-0589a8a58e94ec29644c9d665055b4a1be9953b5.zip | |
Diffstat (limited to 'bin/templ2pot.py')
| -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() |
