mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
PEP8: fix spacing
This commit is contained in:
@@ -155,7 +155,7 @@ class RpmKey:
|
|||||||
if self.syslogging:
|
if self.syslogging:
|
||||||
syslog.openlog('ansible-%s' % os.path.basename(__file__))
|
syslog.openlog('ansible-%s' % os.path.basename(__file__))
|
||||||
syslog.syslog(syslog.LOG_NOTICE, 'Command %s' % '|'.join(cmd))
|
syslog.syslog(syslog.LOG_NOTICE, 'Command %s' % '|'.join(cmd))
|
||||||
rc, stdout, stderr = self.module.run_command(cmd)
|
rc, stdout, stderr = self.module.run_command(cmd)
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
self.module.fail_json(msg=stderr)
|
self.module.fail_json(msg=stderr)
|
||||||
return stdout, stderr
|
return stdout, stderr
|
||||||
|
|||||||
Reference in New Issue
Block a user