mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Drop forcing to unicode exception object
This commit is contained in:
parent
8b5af58066
commit
888939116a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user