commit | 2596758cb42cb592f2e3c33ef77bc9b02c995510 | [log] [tgz] |
---|---|---|
author | Ronald Oussoren <ronaldoussoren@mac.com> | Sun Sep 06 10:00:26 2009 +0000 |
committer | Ronald Oussoren <ronaldoussoren@mac.com> | Sun Sep 06 10:00:26 2009 +0000 |
tree | 78f8869bfd6ec74755463b0f918d2e24d5972465 | |
parent | f01697014f63e3fbe11f73afe789b6205125cb20 [diff] [blame] |
Fix build issues on OSX 10.6 (issue 6802)
diff --git a/Lib/plat-mac/aepack.py b/Lib/plat-mac/aepack.py index 3b31b04..6021283 100644 --- a/Lib/plat-mac/aepack.py +++ b/Lib/plat-mac/aepack.py
@@ -58,7 +58,11 @@ # 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