Commit 2761df23 by James Cammarata

Small tweak to 7551b75e to correct the ordering of tests

parent 7551b75e
...@@ -65,10 +65,10 @@ def get_config(p, section, key, env_var, default, boolean=False, integer=False, ...@@ -65,10 +65,10 @@ def get_config(p, section, key, env_var, default, boolean=False, integer=False,
elif isnone: elif isnone:
if value == "None": if value == "None":
value = None value = None
elif isinstance(value, string_types):
value = unquote(value)
elif ispath: elif ispath:
value = shell_expand(value) value = shell_expand(value)
elif isinstance(value, string_types):
value = unquote(value)
return value return value
def _get_config(p, section, key, env_var, default): def _get_config(p, section, key, env_var, default):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment