Kaydet (Commit) b76a55c2 authored tarafından Barry Warsaw's avatar Barry Warsaw

GNUTranslations.BE_MAGIC: don't be so clever in calculating this from

LE_MAGIC; it breaks on Tru64.
üst 1c8feae4
......@@ -125,7 +125,7 @@ class NullTranslations:
class GNUTranslations(NullTranslations):
# Magic number of .mo files
LE_MAGIC = 0x950412de
BE_MAGIC = struct.unpack('>i', struct.pack('<i', LE_MAGIC))[0]
BE_MAGIC = 0xde120495
def _parse(self, fp):
"""Override this method to support alternative .mo formats."""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment