diff options
| author | tkikuchi | 2006-01-08 08:18:15 +0000 |
|---|---|---|
| committer | tkikuchi | 2006-01-08 08:18:15 +0000 |
| commit | 4d3cae1c78b8ccadbe350040f980acb2ac347577 (patch) | |
| tree | 268924ea48b7d8d66ab0ab8afc0b97a4ad3561d8 /admin | |
| parent | d78aad44e2519a312700f0947eaadbd13b32d21f (diff) | |
| download | mailman-4d3cae1c78b8ccadbe350040f980acb2ac347577.tar.gz mailman-4d3cae1c78b8ccadbe350040f980acb2ac347577.tar.zst mailman-4d3cae1c78b8ccadbe350040f980acb2ac347577.zip | |
templ2po.py normalization of '\r\n' to '\n'.
templ2pot.py ... associated change.
templ2po.py ... bug fix.
Diffstat (limited to 'admin')
| -rwxr-xr-x | admin/bin/templ2po.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/bin/templ2po.py b/admin/bin/templ2po.py index 4f4d91429..5f5c9d38f 100755 --- a/admin/bin/templ2po.py +++ b/admin/bin/templ2po.py @@ -77,7 +77,7 @@ def escape(s, eightbit): def normalize(s, eightbit): # This converts the various Python string types into a format that is # appropriate for .po files, namely much closer to C style. - lines = s.split('\n') + lines = s.splitlines() if len(lines) == 1: s = '"' + escape(s, eightbit) + '"' else: |
