##// END OF EJS Templates
remove unused finction
M Bussonnier -
Show More
@@ -39,18 +39,6 b' def execfile(fname, globs, locs=None):'
39 39 with open(fname, encoding="utf-8") as f:
40 40 exec(compile(f.read(), fname, "exec"), globs, locs)
41 41
42 # A little utility we'll need below, since glob() does NOT allow you to do
43 # exclusion on multiple endings!
44 def file_doesnt_endwith(test,endings):
45 """Return true if test is a file and its name does NOT end with any
46 of the strings listed in endings."""
47 if not isfile(test):
48 return False
49 for e in endings:
50 if test.endswith(e):
51 return False
52 return True
53
54 42 #---------------------------------------------------------------------------
55 43 # Basic project information
56 44 #---------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now