mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 20:50:06 -03:30
Remove unused variable
This commit is contained in:
@@ -115,6 +115,6 @@ def read_ansible_config(project_path, variables_of_interest):
|
|||||||
for var in variables_of_interest:
|
for var in variables_of_interest:
|
||||||
if var in parser['defaults']:
|
if var in parser['defaults']:
|
||||||
values[var] = parser['defaults'][var]
|
values[var] = parser['defaults'][var]
|
||||||
except Exception as e:
|
except Exception:
|
||||||
logger.exception('Failed to read ansible configuration(s) {}'.format(fnames))
|
logger.exception('Failed to read ansible configuration(s) {}'.format(fnames))
|
||||||
return values
|
return values
|
||||||
|
|||||||
Reference in New Issue
Block a user