mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-02 20:24:23 -07:00
PEP8: fix spacing
This commit is contained in:
parent
4400bbdc55
commit
de14995b8c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue