diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-20 15:30:52 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-20 15:30:52 (GMT) |
commit | b9e5e1415830557ee09c5cb7190ab785b76bc6dc (patch) | |
tree | 522e0f76dbd0cc5963fdfe92dc7eaf9bdb3adf4c /Mac/scripts/fullbuild.py | |
parent | 977fbf271e2bbd1d4fe7ade11488245f581dc91d (diff) | |
download | cpython-b9e5e1415830557ee09c5cb7190ab785b76bc6dc.zip cpython-b9e5e1415830557ee09c5cb7190ab785b76bc6dc.tar.gz cpython-b9e5e1415830557ee09c5cb7190ab785b76bc6dc.tar.bz2 |
Use auto-start functionality of aetools.TalkTo and aetools.Error for
server-generated errors.
Diffstat (limited to 'Mac/scripts/fullbuild.py')
-rw-r--r-- | Mac/scripts/fullbuild.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index c8d7ed2..bb06d19 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -32,15 +32,7 @@ RUNNING=[] def buildmwproject(top, creator, projects): """Build projects with an MW compiler""" - if not creator in RUNNING: - print 'Please start project mgr with signature', creator,'-' - sys.stdin.readline() - RUNNING.append(creator) - try: - mgr = MwShell(creator) - except 'foo': - print 'Not handled:', creator - return + mgr = MwShell(creator, start=1) mgr.send_timeout = AppleEvents.kNoTimeOut for file in projects: @@ -50,8 +42,8 @@ def buildmwproject(top, creator, projects): mgr.open(fss) try: mgr.Make_Project() - except MacOS.Error, arg: - print '** Failed. Possible error:', arg + except aetools.Error, arg: + print '** Failed:', arg mgr.Close_Project() ## mgr.quit() |