diff options
-rw-r--r-- | Mac/scripts/binhextree.py | 4 | ||||
-rw-r--r-- | Mac/scripts/fullbuild.py | 14 |
2 files changed, 4 insertions, 14 deletions
diff --git a/Mac/scripts/binhextree.py b/Mac/scripts/binhextree.py index 19faf40..535bc7b 100644 --- a/Mac/scripts/binhextree.py +++ b/Mac/scripts/binhextree.py @@ -70,10 +70,8 @@ project_files = {} def hexbincwprojects(creator): """Compact and hexbin all files remembered with a given creator""" - print 'Please start project mgr with signature', creator,'-' - sys.stdin.readline() try: - mgr = MwShell(creator) + mgr = MwShell(creator, start=1) except 'foo': print 'Not handled:', creator return 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() |