From 888939116ad34c6ec464b344b21e70bb645c9c75 Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Mon, 12 Feb 2018 18:55:55 +0100 Subject: [PATCH] Drop forcing to unicode exception object --- salt/utils/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py index be82585dca..88ce272fa9 100644 --- a/salt/utils/parsers.py +++ b/salt/utils/parsers.py @@ -2756,7 +2756,7 @@ class SaltCallOptionParser(six.with_metaclass(OptionParserMeta, if os.path.exists(ha) and not os.path.isfile(ha) and not os.path.isdir(ha): # minion manor yard return True except ImportError as ex: - logger.error("Error while importing Yard: %s", six.text_type(ex)) + logger.error("Error while importing Yard: %s", ex) return False def process_module_dirs(self):