From d509dfc96974aacec265bf42e50aed888510f2e0 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 18 Oct 2012 20:27:39 -0400 Subject: [PATCH] delete extra else clause --- lib/ansible/constants.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()