From: Barry Warsaw Date: Thu, 31 Aug 2000 10:45:54 +0000 (+0000) Subject: GNUTranslations.BE_MAGIC: don't be so clever in calculating this from X-Git-Tag: v2.0b1~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b76a55c278cda87cc66ae17b6c33b58a44428bbf;p=python GNUTranslations.BE_MAGIC: don't be so clever in calculating this from LE_MAGIC; it breaks on Tru64. --- diff --git a/Lib/gettext.py b/Lib/gettext.py index 647fe56bf9..c2a549ff68 100644 --- a/Lib/gettext.py +++ b/Lib/gettext.py @@ -125,7 +125,7 @@ class NullTranslations: class GNUTranslations(NullTranslations): # Magic number of .mo files LE_MAGIC = 0x950412de - BE_MAGIC = struct.unpack('>i', struct.pack('