This commit is contained in:
Colton Myers 2015-06-09 12:45:36 -06:00
parent 52a694b9ac
commit 6e87ad383a

View File

@ -114,7 +114,7 @@ def yamlify_arg(arg):
# Only yamlify if it parses into a non-string type, to prevent
# loss of content due to # as comment character
parsed_arg = yamlloader.load(arg, Loader=yamlloader.SaltYamlSafeLoader)
if isinstance(parsed_arg, string_types):
if isinstance(parsed_arg, six.string_types):
return arg
return parsed_arg
if arg == 'None':