commit | 180ceedc0930beb336b16cb73d6ef8ee09e40e81 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Fri Nov 15 00:06:52 2002 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Fri Nov 15 00:06:52 2002 +0000 |
tree | 7542c2666ceded4fd47a641f6e7f2efa19ac4254 | |
parent | 25e61d9e0a0b779f1c48838bd09938bbf1631990 [diff] [blame] |
Python 2.2 as installed by Apple has a version of _Res that is too old. We attempt to load an override version in this case.
diff --git a/Mac/Lib/Carbon/Res.py b/Mac/Lib/Carbon/Res.py index 174c040..8465ab8 100644 --- a/Mac/Lib/Carbon/Res.py +++ b/Mac/Lib/Carbon/Res.py
@@ -1 +1,4 @@ -from _Res import * +try: + from OverrideFrom23._Res import * +except ImportError: + from _Res import *