git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a9cb09
)
lowercase extension before comparing
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 14 Sep 2011 00:00:27 +0000
(20:00 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 14 Sep 2011 00:00:27 +0000
(20:00 -0400)
sfa/trust/trustedroots.py
patch
|
blob
|
history
diff --git
a/sfa/trust/trustedroots.py
b/sfa/trust/trustedroots.py
index
fac2da4
..
a505aea
100644
(file)
--- a/
sfa/trust/trustedroots.py
+++ b/
sfa/trust/trustedroots.py
@@
-39,5
+39,5
@@
class TrustedRoots:
def has_supported_extension (self,path):
(_,ext)=os.path.splitext(path)
- ext=ext.replace('.','')
+ ext=ext.replace('.','')
.lower()
return ext in TrustedRoots.supported_extensions