Skip to content
Snippets Groups Projects
Commit 8d606bb2 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

What do you know, that silly test caught a bug

parent 6797bffe
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ def hasExt(path, allowedExts): ...@@ -82,7 +82,7 @@ def hasExt(path, allowedExts):
"""Convenience function which returns ``True`` if the given ``path`` """Convenience function which returns ``True`` if the given ``path``
ends with any of the given ``allowedExts``, ``False`` otherwise. ends with any of the given ``allowedExts``, ``False`` otherwise.
""" """
return any([path.endsWith(e) for e in allowedExts]) return any([path.endswith(e) for e in allowedExts])
def addExt(prefix, def addExt(prefix,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment