diff options
author | Matt Clay <matt@mystile.com> | 2017-01-27 15:45:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-27 15:45:23 -0800 |
commit | 95789f3949b01c79c729315ff375d0e759f64970 (patch) | |
tree | f1e2ed9fcc6aaa5e1ed56a20dd1e609e55489cb6 /lib/ansible/modules/packaging/os/layman.py | |
parent | 802fbcadf855db34bfdbcec0c6310c537ff3a5d0 (diff) | |
download | ansible-95789f3949b01c79c729315ff375d0e759f64970.tar.gz |
PEP 8 whitespace cleanup. (#20783)
* PEP 8 E271 whitespace cleanup.
* PEP 8 W293 whitespace cleanup.
* Fix whitespace issue from recent PR.
Diffstat (limited to 'lib/ansible/modules/packaging/os/layman.py')
-rw-r--r-- | lib/ansible/modules/packaging/os/layman.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/packaging/os/layman.py b/lib/ansible/modules/packaging/os/layman.py index 440001b48a..f18189f69c 100644 --- a/lib/ansible/modules/packaging/os/layman.py +++ b/lib/ansible/modules/packaging/os/layman.py @@ -158,7 +158,7 @@ def install_overlay(module, name, list_url=None): if layman.is_installed(name): return False - + if module.check_mode: mymsg = 'Would add layman repo \'' + name + '\'' module.exit_json(changed=True, msg=mymsg) @@ -195,7 +195,7 @@ def uninstall_overlay(module, name): if not layman.is_installed(name): return False - + if module.check_mode: mymsg = 'Would remove layman repo \'' + name + '\'' module.exit_json(changed=True, msg=mymsg) |