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:
1c494e1
)
str2bool() no logger accepts 'yes' as True
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 20 Jun 2011 18:15:07 +0000
(14:15 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 20 Jun 2011 18:15:07 +0000
(14:15 -0400)
sfa/trust/credential.py
patch
|
blob
|
history
diff --git
a/sfa/trust/credential.py
b/sfa/trust/credential.py
index
9b8d8f7
..
2f38c38
100644
(file)
--- a/
sfa/trust/credential.py
+++ b/
sfa/trust/credential.py
@@
-81,7
+81,7
@@
signature_template = \
# Convert a string into a bool
def str2bool(str):
- if str.lower() in ['
yes','
true','1']:
+ if str.lower() in ['true','1']:
return True
return False