From f88768144de1bb402f19a8b4c09e1f9fa005fb57 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 20 Jun 2011 14:15:07 -0400 Subject: [PATCH] str2bool() no logger accepts 'yes' as True --- sfa/trust/credential.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/trust/credential.py b/sfa/trust/credential.py index 9b8d8f7e..2f38c38a 100644 --- 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 -- 2.43.0