summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/Wapplication.py
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>1999-12-23 21:50:26 (GMT)
committerJust van Rossum <just@lettererror.com>1999-12-23 21:50:26 (GMT)
commit6dc2b57c73bb12e8ce05002cc2e8582dd4229965 (patch)
treef15f0d8ba529483bcb74c1c4109c1431d2db97cd /Mac/Tools/IDE/Wapplication.py
parent71017e5b6ac45e6772a267be9496e853ad531f84 (diff)
downloadcpython-6dc2b57c73bb12e8ce05002cc2e8582dd4229965.zip
cpython-6dc2b57c73bb12e8ce05002cc2e8582dd4229965.tar.gz
cpython-6dc2b57c73bb12e8ce05002cc2e8582dd4229965.tar.bz2
skip CVS folders when building the Scripts menu -- jvr
Diffstat (limited to 'Mac/Tools/IDE/Wapplication.py')
-rw-r--r--Mac/Tools/IDE/Wapplication.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py
index dcad29f..3269d35 100644
--- a/Mac/Tools/IDE/Wapplication.py
+++ b/Mac/Tools/IDE/Wapplication.py
@@ -261,7 +261,13 @@ class Application(FrameWork.Application):
savedir = os.getcwd()
os.chdir(top)
for name in names:
- fss, isdir, isalias = macfs.ResolveAliasFile(name)
+ if name == "CVS":
+ continue
+ try:
+ fss, isdir, isalias = macfs.ResolveAliasFile(name)
+ except:
+ # maybe a broken alias
+ continue
path = fss.as_pathname()
if done.has_key(path):
continue