diff options
author | Just van Rossum <just@lettererror.com> | 1999-12-23 21:50:26 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-12-23 21:50:26 (GMT) |
commit | 6dc2b57c73bb12e8ce05002cc2e8582dd4229965 (patch) | |
tree | f15f0d8ba529483bcb74c1c4109c1431d2db97cd | |
parent | 71017e5b6ac45e6772a267be9496e853ad531f84 (diff) | |
download | cpython-6dc2b57c73bb12e8ce05002cc2e8582dd4229965.zip cpython-6dc2b57c73bb12e8ce05002cc2e8582dd4229965.tar.gz cpython-6dc2b57c73bb12e8ce05002cc2e8582dd4229965.tar.bz2 |
skip CVS folders when building the Scripts menu -- jvr
-rw-r--r-- | Mac/Tools/IDE/Wapplication.py | 8 |
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 |