diff options
-rw-r--r-- | Lib/gettext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gettext.py b/Lib/gettext.py index 647fe56..c2a549f 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('<i', LE_MAGIC))[0] + BE_MAGIC = 0xde120495 def _parse(self, fp): """Override this method to support alternative .mo formats.""" |