From 58be2ec4a3a3213700905f6bd3e6752775369471 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 24 Sep 2012 20:58:05 -0400 Subject: fix pep8 --- cloudinit/distros/rhel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloudinit/distros/rhel.py b/cloudinit/distros/rhel.py index 1ea7952b..1a47fc33 100644 --- a/cloudinit/distros/rhel.py +++ b/cloudinit/distros/rhel.py @@ -1,4 +1,4 @@ -# vi: ts=4 expandtab + # vi: ts=4 expandtab # # Copyright (C) 2012 Canonical Ltd. # Copyright (C) 2012 Hewlett-Packard Development Company, L.P. @@ -56,6 +56,7 @@ D_QUOTE_CHARS = { '`': '\`', } + def _make_sysconfig_bool(val): if val: return 'yes' @@ -160,7 +161,7 @@ class Distro(distros.Distro): def _write_hostname(self, hostname, out_fn): host_cfg = { - 'HOSTNAME': hostname, + 'HOSTNAME': hostname, } self._update_sysconfig_file(out_fn, host_cfg) -- cgit v1.2.3