Fix pep8 error in hostname module

reviewable/pr18780/r1
James Tanner 11 years ago
parent 7d3a44d4bf
commit 6ca17b90d0

@ -265,7 +265,7 @@ class FedoraStrategy(GenericStrategy):
if rc != 0:
self.module.fail_json(msg="Command failed rc=%d, out=%s, err=%s" %
(rc, out, err))
return out
return out
def set_permanent_hostname(self, name):
cmd = ['hostnamectl', '--pretty', 'set-hostname', name]

Loading…
Cancel
Save