diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py index 5f57860f384..c9ccd12e9ed 100644 --- a/lib/ansible/constants.py +++ b/lib/ansible/constants.py @@ -30,8 +30,7 @@ def get_config(p, section, key, env_var, default): return p.get(section, key) except: return default - else: - return default + return default def load_config_file(): p = ConfigParser.ConfigParser()