Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Evan Edmond
fslpy
Commits
8d606bb2
Commit
8d606bb2
authored
Jan 21, 2018
by
Paul McCarthy
🚵
Browse files
What do you know, that silly test caught a bug
parent
6797bffe
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/utils/path.py
View file @
8d606bb2
...
...
@@ -82,7 +82,7 @@ def hasExt(path, allowedExts):
"""Convenience function which returns ``True`` if the given ``path``
ends with any of the given ``allowedExts``, ``False`` otherwise.
"""
return
any
([
path
.
ends
W
ith
(
e
)
for
e
in
allowedExts
])
return
any
([
path
.
ends
w
ith
(
e
)
for
e
in
allowedExts
])
def
addExt
(
prefix
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment