Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
457c3f1b
Commit
457c3f1b
authored
Sep 20, 1996
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use auto-start functionality of aetools.TalkTo and aetools.Error for
server-generated errors.
parent
a98fd5aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
+4
-14
Mac/scripts/binhextree.py
Mac/scripts/binhextree.py
+1
-3
Mac/scripts/fullbuild.py
Mac/scripts/fullbuild.py
+3
-11
No files found.
Mac/scripts/binhextree.py
View file @
457c3f1b
...
...
@@ -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
...
...
Mac/scripts/fullbuild.py
View file @
457c3f1b
...
...
@@ -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()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment