summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/fullbuild.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-27 21:41:23 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-27 21:41:23 (GMT)
commit3c06b9a7d4fa144eebd4786f71c4a301726e0c3c (patch)
tree4f9cdc3420a0b7d6cd76ec44245df09628e98993 /Mac/scripts/fullbuild.py
parenta5d7da528bda145426c50ad9ded8d0707d5f302c (diff)
downloadcpython-3c06b9a7d4fa144eebd4786f71c4a301726e0c3c.zip
cpython-3c06b9a7d4fa144eebd4786f71c4a301726e0c3c.tar.gz
cpython-3c06b9a7d4fa144eebd4786f71c4a301726e0c3c.tar.bz2
Use the new macresource module to open the accompanying resource file (if needed).
Diffstat (limited to 'Mac/scripts/fullbuild.py')
-rw-r--r--Mac/scripts/fullbuild.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index f5ccfc9..8954739 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -19,6 +19,7 @@ import EasyDialogs
import re
import string
import genpluginprojects
+import macresource
import aetools
from Carbon import AppleEvents
@@ -369,11 +370,7 @@ def incbuildno(filename):
fp.close()
def main():
- try:
- h = Res.FSpOpenResFile('fullbuild.rsrc', 1)
- except Res.Error:
- pass # Assume we already have acces to our own resource
-
+ macresource.need('DLOG', DIALOG_ID, 'fullbuild.rsrc')
dir, ok = macfs.GetDirectory('Python source folder:')
if not ok:
sys.exit(0)