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

delete extra else clause

This commit is contained in:
Michael DeHaan 2012-10-18 20:27:39 -04:00
parent 452668ce83
commit d509dfc969

View file

@ -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()