1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Small tweak to 7551b75 to correct the ordering of tests

This commit is contained in:
James Cammarata 2015-09-01 14:48:59 -04:00
parent 7551b75e61
commit 2761df232e

View file

@ -65,10 +65,10 @@ def get_config(p, section, key, env_var, default, boolean=False, integer=False,
elif isnone:
if value == "None":
value = None
elif isinstance(value, string_types):
value = unquote(value)
elif ispath:
value = shell_expand(value)
elif isinstance(value, string_types):
value = unquote(value)
return value
def _get_config(p, section, key, env_var, default):