From 225c6fcc6d625330abebe9efb087bba84f2daaa5 Mon Sep 17 00:00:00 2001 From: Chris Polcyn Date: Tue, 18 Jul 2017 11:33:54 -0700 Subject: [PATCH] compare to basestring instead of str to handle unicode instances --- cumulusci/core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cumulusci/core/utils.py b/cumulusci/core/utils.py index 3a65aac1f0..fb41030eed 100644 --- a/cumulusci/core/utils.py +++ b/cumulusci/core/utils.py @@ -18,7 +18,7 @@ def process_bool_arg(arg): """ Determine True/False from argument """ if isinstance(arg, bool): return arg - elif isinstance(arg, str): + elif isinstance(arg, basestring): if arg.lower() in ['true', '1']: return True elif arg.lower() in ['false', '0']: