summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/packaging/os
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-01-30 15:01:47 -0800
committerGitHub <noreply@github.com>2017-01-30 15:01:47 -0800
commitcb76200c7dd07f604b3bbf9f0d8b9fafde16b4b3 (patch)
treec7f84e832dc07a1f9db4f8a1881bcc3f2070dff0 /lib/ansible/modules/packaging/os
parent1609afbd12abb68d1434ee5ce56fe09e12a53fdb (diff)
downloadansible-cb76200c7dd07f604b3bbf9f0d8b9fafde16b4b3.tar.gz
PEP 8 E111 & E114 cleanup. (#20838)
Diffstat (limited to 'lib/ansible/modules/packaging/os')
-rw-r--r--lib/ansible/modules/packaging/os/dpkg_selections.py2
-rwxr-xr-xlib/ansible/modules/packaging/os/pkgin.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/packaging/os/dpkg_selections.py b/lib/ansible/modules/packaging/os/dpkg_selections.py
index f26ad68f02..22607cc209 100644
--- a/lib/ansible/modules/packaging/os/dpkg_selections.py
+++ b/lib/ansible/modules/packaging/os/dpkg_selections.py
@@ -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)
diff --git a/lib/ansible/modules/packaging/os/pkgin.py b/lib/ansible/modules/packaging/os/pkgin.py
index 4a51c079eb..ff74eec84d 100755
--- a/lib/ansible/modules/packaging/os/pkgin.py
+++ b/lib/ansible/modules/packaging/os/pkgin.py
@@ -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)