Skip to content

Commit 82f8a8f

Browse files
committed
remove unused finction
1 parent 0e62e65 commit 82f8a8f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

setupbase.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@ def execfile(fname, globs, locs=None):
3939
with open(fname, encoding="utf-8") as f:
4040
exec(compile(f.read(), fname, "exec"), globs, locs)
4141

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-
5442
#---------------------------------------------------------------------------
5543
# Basic project information
5644
#---------------------------------------------------------------------------

0 commit comments

Comments
 (0)