From c8789cd4b937d291138d0f28d7b1568fe0e3efa7 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Thu, 24 Mar 2011 22:36:03 +0000 Subject: Filter out more bogus files from import.py test. It was trying to use emacs and other junk files which were left in the source tree and failing --- test/import.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/import.py b/test/import.py index ff15e16..5bb4fcd 100644 --- a/test/import.py +++ b/test/import.py @@ -81,6 +81,9 @@ ignore = ('__init__.py', tools = [] for name in os.listdir(tooldir): if name in ignore: continue + if name[0] == '#': continue + if name[0:1] == '.': continue + if name[-1] == '~' : continue if name[-3:] == '.py': if name[-8:] not in ('Tests.py', 'ommon.py'): tools.append(name[:-3]) -- cgit v0.12