Permalink
Browse files

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
  • Loading branch information...
1 parent 34e55a9 commit f3b86bfe4772fcc54a5c9ac5a5fcbfe023deabeb William Deegan committed Mar 24, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/import.py
View
@@ -81,6 +81,9 @@
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])

0 comments on commit f3b86bf

Please sign in to comment.