mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
added collection name to module.deprecate() calls; fixed pep8 linting issues
This commit is contained in:
committed by
Seth Foster
parent
378a0711c2
commit
25ca8d22d6
@@ -401,7 +401,9 @@ def main():
|
||||
for legacy_input in OLD_INPUT_NAMES:
|
||||
if module.params.get(legacy_input) is not None:
|
||||
module.deprecate(
|
||||
msg='{0} parameter has been deprecated, please use notification_configuration instead'.format(legacy_input), version="ansible.tower:4.0.0"
|
||||
collection_name=DOCUMENTATION.module,
|
||||
msg='{0} parameter has been deprecated, please use notification_configuration instead'.format(legacy_input),
|
||||
version="4.0.0"
|
||||
)
|
||||
|
||||
# Attempt to look up the related items the user specified (these will fail the module if not found)
|
||||
|
||||
Reference in New Issue
Block a user