summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-09-24 20:58:05 -0400
committerScott Moser <smoser@ubuntu.com>2012-09-24 20:58:05 -0400
commit58be2ec4a3a3213700905f6bd3e6752775369471 (patch)
tree17dc83d44237c7ed565daef3a7df764d32d93875 /cloudinit/distros
parentc780ad5898f54741037ad66c28c3423aa0495fba (diff)
downloadvyos-cloud-init-58be2ec4a3a3213700905f6bd3e6752775369471.tar.gz
vyos-cloud-init-58be2ec4a3a3213700905f6bd3e6752775369471.zip
fix pep8
Diffstat (limited to 'cloudinit/distros')
-rw-r--r--cloudinit/distros/rhel.py5
1 files 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)