summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>1999-01-30 18:27:12 (GMT)
committerJust van Rossum <just@lettererror.com>1999-01-30 18:27:12 (GMT)
commit2607a44690e701c66984b7b91fbcd225a3d271ff (patch)
tree669f03dc665ceb16b6b5b037cd83882b5a9a7f64 /Mac
parentf1ae0eb9faf9174996893d51d994789e6efc5ad2 (diff)
downloadcpython-2607a44690e701c66984b7b91fbcd225a3d271ff.zip
cpython-2607a44690e701c66984b7b91fbcd225a3d271ff.tar.gz
cpython-2607a44690e701c66984b7b91fbcd225a3d271ff.tar.bz2
added some try/excepts so it also works when certain projects/folders are not available -- jvr
Diffstat (limited to 'Mac')
-rw-r--r--Mac/scripts/fullbuild.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index cf01d63..0587f6c 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -70,9 +70,17 @@ def buildmwproject(top, creator, projects):
else:
target = ''
file = os.path.join(top, file)
- fss = macfs.FSSpec(file)
+ try:
+ fss = macfs.FSSpec(file)
+ except ValueError:
+ print '** file not found:', file
+ continue
print 'Building', file, target
- mgr.open(fss)
+ try:
+ mgr.open(fss)
+ except aetools.Error, detail:
+ print '**', detail, file
+ continue
if target:
try:
mgr.Set_Current_Target(target)