summaryrefslogtreecommitdiff
path: root/Lib/plat-mac/aepack.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-09-06 10:00:26 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2009-09-06 10:00:26 +0000
commit2596758cb42cb592f2e3c33ef77bc9b02c995510 (patch)
tree78f8869bfd6ec74755463b0f918d2e24d5972465 /Lib/plat-mac/aepack.py
parentf01697014f63e3fbe11f73afe789b6205125cb20 (diff)
downloadcpython-git-2596758cb42cb592f2e3c33ef77bc9b02c995510.tar.gz
Fix build issues on OSX 10.6 (issue 6802)
Diffstat (limited to 'Lib/plat-mac/aepack.py')
-rw-r--r--Lib/plat-mac/aepack.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/plat-mac/aepack.py b/Lib/plat-mac/aepack.py
index 3b31b048cb..6021283e7a 100644
--- a/Lib/plat-mac/aepack.py
+++ b/Lib/plat-mac/aepack.py
@@ -58,7 +58,11 @@ unpacker_coercions = {
# Some python types we need in the packer:
#
AEDescType = AE.AEDescType
-FSSType = Carbon.File.FSSpecType
+try:
+ FSSType = Carbon.File.FSSpecType
+except AttributeError:
+ class FSSType:
+ pass
FSRefType = Carbon.File.FSRefType
AliasType = Carbon.File.AliasType