commit | 57fb8cec3aa26ac0491550ce4f53a6a45d3749b5 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Thu Mar 07 15:16:27 1996 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Thu Mar 07 15:16:27 1996 +0000 |
tree | c1da3974ffd99f908a34f28b63eff2d5e9017c9a | |
parent | 3fff8c43fbcd582d895b2b9d69ce5462523115e4 [diff] [blame] |
New binhexer
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 @@ ] 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)