summaryrefslogtreecommitdiff
path: root/bin/templ2pot.py
diff options
context:
space:
mode:
authorbwarsaw2005-12-30 18:52:00 +0000
committerbwarsaw2005-12-30 18:52:00 +0000
commit0589a8a58e94ec29644c9d665055b4a1be9953b5 (patch)
treeed1d3f9f82e2d7a37ce2d323d1b64f24a669a842 /bin/templ2pot.py
parent2c1d1dc75772f830222b16e037b8185bcfbf920e (diff)
downloadmailman-0589a8a58e94ec29644c9d665055b4a1be9953b5.tar.gz
mailman-0589a8a58e94ec29644c9d665055b4a1be9953b5.tar.zst
mailman-0589a8a58e94ec29644c9d665055b4a1be9953b5.zip
Diffstat (limited to 'bin/templ2pot.py')
-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()