summaryrefslogtreecommitdiff
path: root/cloudinit/distros/sles.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2015-01-22 21:21:04 -0500
committerBarry Warsaw <barry@python.org>2015-01-22 21:21:04 -0500
commit3b798b5d5c3caa5d0e8e534855e29010ca932aaa (patch)
treec517762e79e4421d9b5a1be74cfe5776a7b9427a /cloudinit/distros/sles.py
parent6f2a62c2fde85839ed437549597498a707f5da68 (diff)
downloadvyos-cloud-init-3b798b5d5c3caa5d0e8e534855e29010ca932aaa.tar.gz
vyos-cloud-init-3b798b5d5c3caa5d0e8e534855e29010ca932aaa.zip
Low hanging Python 3 fruit.
Diffstat (limited to 'cloudinit/distros/sles.py')
-rw-r--r--cloudinit/distros/sles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/sles.py b/cloudinit/distros/sles.py
index 0c6d1203..620c974c 100644
--- a/cloudinit/distros/sles.py
+++ b/cloudinit/distros/sles.py
@@ -113,7 +113,7 @@ class Distro(distros.Distro):
if not conf:
conf = HostnameConf('')
conf.set_hostname(hostname)
- util.write_file(out_fn, str(conf), 0644)
+ util.write_file(out_fn, str(conf), 0o644)
def _read_system_hostname(self):
host_fn = self.hostname_conf_fn