Drop forcing to unicode exception object

This commit is contained in:
Bo Maryniuk 2018-02-12 18:55:55 +01:00
parent 8b5af58066
commit 888939116a

View File

@ -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):