summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/binhextree.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/scripts/binhextree.py')
-rw-r--r--Mac/scripts/binhextree.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mac/scripts/binhextree.py b/Mac/scripts/binhextree.py
index 6512de7..accc2ac 100644
--- a/Mac/scripts/binhextree.py
+++ b/Mac/scripts/binhextree.py
@@ -118,7 +118,11 @@ extensions = [
]
def walker(arg, top, names):
- for n in names:
+ lnames = names[:]
+ for n in lnames:
+ if n[0] == '(' and n[-1] == ')':
+ names.remove(n)
+ continue
for ext, handler in extensions:
if n[-len(ext):] == ext:
name = os.path.join(top, n)