mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 20:54:24 -07:00
Fix comment spacing (pep8)
This commit is contained in:
parent
d816c5bd41
commit
71fdd56c14
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class CapabilitiesModule(object):
|
||||||
if ' =' in stdout:
|
if ' =' in stdout:
|
||||||
# process output of an older version of libcap
|
# process output of an older version of libcap
|
||||||
caps = stdout.split(' =')[1].strip().split()
|
caps = stdout.split(' =')[1].strip().split()
|
||||||
elif stdout.strip().endswith(")"): # '/foo (Error Message)'
|
elif stdout.strip().endswith(")"): # '/foo (Error Message)'
|
||||||
self.module.fail_json(msg="Unable to get capabilities of %s" % path, stdout=stdout.strip(), stderr=stderr)
|
self.module.fail_json(msg="Unable to get capabilities of %s" % path, stdout=stdout.strip(), stderr=stderr)
|
||||||
else:
|
else:
|
||||||
# otherwise, we have a newer version here
|
# otherwise, we have a newer version here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue