summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2006-02-23 14:54:30 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2006-02-23 14:54:30 (GMT)
commitde540e228854e6ecaceedc7036a0f99e9941d350 (patch)
treecb2b57ff961a15cc840adbf401183b09be1d37c9 /Lib
parentb518d8c7d7a036008945ae11226ab2cfe14164d0 (diff)
downloadcpython-de540e228854e6ecaceedc7036a0f99e9941d350.zip
cpython-de540e228854e6ecaceedc7036a0f99e9941d350.tar.gz
cpython-de540e228854e6ecaceedc7036a0f99e9941d350.tar.bz2
Got rid of byte-order dependencies.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/plat-mac/applesingle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/applesingle.py b/Lib/plat-mac/applesingle.py
index 7bbe8af..56d73a7 100644
--- a/Lib/plat-mac/applesingle.py
+++ b/Lib/plat-mac/applesingle.py
@@ -25,14 +25,14 @@ class Error(ValueError):
pass
# File header format: magic, version, unused, number of entries
-AS_HEADER_FORMAT="LL16sh"
+AS_HEADER_FORMAT=">ll16sh"
AS_HEADER_LENGTH=26
# The flag words for AppleSingle
AS_MAGIC=0x00051600
AS_VERSION=0x00020000
# Entry header format: id, offset, length
-AS_ENTRY_FORMAT="lll"
+AS_ENTRY_FORMAT=">lll"
AS_ENTRY_LENGTH=12
# The id values