mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
PEP 8 E111 & E114 cleanup. (#20838)
This commit is contained in:
parent
1609afbd12
commit
cb76200c7d
119 changed files with 339 additions and 378 deletions
|
@ -72,7 +72,7 @@ def main():
|
|||
changed = current != selection
|
||||
|
||||
if module.check_mode or not changed:
|
||||
module.exit_json(changed=changed, before=current, after=selection)
|
||||
module.exit_json(changed=changed, before=current, after=selection)
|
||||
|
||||
module.run_command([dpkg, '--set-selections'], data="%s %s" % (name, selection), check_rc=True)
|
||||
module.exit_json(changed=changed, before=current, after=selection)
|
||||
|
|
|
@ -318,7 +318,7 @@ def do_upgrade_packages(module, full=False):
|
|||
module.fail_json(msg="could not %s packages" % cmd)
|
||||
|
||||
def upgrade_packages(module):
|
||||
do_upgrade_packages(module)
|
||||
do_upgrade_packages(module)
|
||||
|
||||
def full_upgrade_packages(module):
|
||||
do_upgrade_packages(module, True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue