mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
PEP 8 E111 & E114 cleanup. (#20838)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user