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:
parent
452668ce83
commit
d509dfc969
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue