mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +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)
|
return p.get(section, key)
|
||||||
except:
|
except:
|
||||||
return default
|
return default
|
||||||
else:
|
return default
|
||||||
return default
|
|
||||||
|
|
||||||
def load_config_file():
|
def load_config_file():
|
||||||
p = ConfigParser.ConfigParser()
|
p = ConfigParser.ConfigParser()
|
||||||
|
|||||||
Reference in New Issue
Block a user