git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
str2bool() no logger accepts 'yes' as True
[sfa.git]
/
sfa
/
trust
/
credential.py
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):
# 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
return True
return False