diff roundup/msgfmt.py @ 5380:64c4e43fbb84

Python 3 preparation: numeric literal syntax. Fixes octal constants to use leading 0o, and removes 'L' suffixes. Tool-assisted patch.
author Joseph Myers <jsm@polyomino.org.uk>
date Tue, 24 Jul 2018 21:43:32 +0000
parents 64b05e24dbd8
children 23b8e6067f7c
line wrap: on
line diff
--- a/roundup/msgfmt.py	Tue Jul 24 21:42:22 2018 +0000
+++ b/roundup/msgfmt.py	Tue Jul 24 21:43:32 2018 +0000
@@ -85,7 +85,7 @@
         voffsets += [l2, o2+valuestart]
     offsets = koffsets + voffsets
     output = struct.pack("Iiiiiii",
-                         0x950412deL,       # Magic
+                         0x950412de,        # Magic
                          0,                 # Version
                          len(keys),         # # of entries
                          7*4,               # start of key index

Roundup Issue Tracker: http://roundup-tracker.org/