aboutsummaryrefslogtreecommitdiffstats
path: root/bin/msgfmt.py
diff options
context:
space:
mode:
authorbwarsaw <>2003-09-22 02:29:51 +0000
committerbwarsaw <>2003-09-22 02:29:51 +0000
commit33ad4402b372695b9526f57c33dd8f05c0eeddb3 (patch)
tree22a731818f773f8bf4828a333f452049f1b04d82 /bin/msgfmt.py
parentc6e5c888e2cfc4829e02badf397d2b85b3f39f74 (diff)
downloadmailman2-33ad4402b372695b9526f57c33dd8f05c0eeddb3.tar.gz
mailman2-33ad4402b372695b9526f57c33dd8f05c0eeddb3.tar.xz
mailman2-33ad4402b372695b9526f57c33dd8f05c0eeddb3.zip
Backporting from the HEAD -- bin and cron scripts
Diffstat (limited to '')
-rwxr-xr-xbin/msgfmt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/msgfmt.py b/bin/msgfmt.py
index 411e3aef..8a2d4e66 100755
--- a/bin/msgfmt.py
+++ b/bin/msgfmt.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-
+# -*- coding: iso-8859-1 -*-
# Written by Martin v. Löwis <loewis@informatik.hu-berlin.de>
"""Generate binary message catalog from textual translation description.
@@ -82,8 +82,8 @@ def generate():
koffsets += [l1, o1+keystart]
voffsets += [l2, o2+valuestart]
offsets = koffsets + voffsets
- output = struct.pack("iiiiiii",
- 0x950412de, # Magic
+ output = struct.pack("Iiiiiii",
+ 0x950412deL, # Magic
0, # Version
len(keys), # # of entries
7*4, # start of key index