Commit 1d24bcc9 by James Tanner

Fix pep8 error in hostname module

parent cc2fdb9d
...@@ -265,7 +265,7 @@ class FedoraStrategy(GenericStrategy): ...@@ -265,7 +265,7 @@ class FedoraStrategy(GenericStrategy):
if rc != 0: if rc != 0:
self.module.fail_json(msg="Command failed rc=%d, out=%s, err=%s" % self.module.fail_json(msg="Command failed rc=%d, out=%s, err=%s" %
(rc, out, err)) (rc, out, err))
return out return out
def set_permanent_hostname(self, name): def set_permanent_hostname(self, name):
cmd = ['hostnamectl', '--pretty', 'set-hostname', name] cmd = ['hostnamectl', '--pretty', 'set-hostname', name]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment