From 2761df232ed6939cf57c0af09b97384ae7ba3240 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 1 Sep 2015 14:48:59 -0400 Subject: [PATCH] Small tweak to 7551b75 to correct the ordering of tests --- lib/ansible/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py index 7eb2ec436a8..f836bd39a79 100644 --- a/lib/ansible/constants.py +++ b/lib/ansible/constants.py @@ -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):