From 6dc2b57c73bb12e8ce05002cc2e8582dd4229965 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Thu, 23 Dec 1999 21:50:26 +0000 Subject: skip CVS folders when building the Scripts menu -- jvr --- Mac/Tools/IDE/Wapplication.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v0.12