From 180ceedc0930beb336b16cb73d6ef8ee09e40e81 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 15 Nov 2002 00:06:52 +0000 Subject: 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. --- Mac/Lib/Carbon/Res.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 * -- cgit v0.12