mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
delete extra else clause
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user