mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
lint
This commit is contained in:
parent
52a694b9ac
commit
6e87ad383a
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user