From 1f138d244b1402298d31adcbc6815eca12c89da9 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 19 Jun 2012 21:49:58 -0700 Subject: Pylint line length fixups. --- cloudinit/distros/rhel.py | 3 ++- cloudinit/distros/ubuntu.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'cloudinit') diff --git a/cloudinit/distros/rhel.py b/cloudinit/distros/rhel.py index e9f3f5d9..b67ae5b8 100644 --- a/cloudinit/distros/rhel.py +++ b/cloudinit/distros/rhel.py @@ -117,7 +117,8 @@ class Distro(distros.Distro): if not hostname_prev or hostname_prev != hostname: update_files.append(prev_file) if (not hostname_in_sys or - (hostname_in_sys == hostname_prev and hostname_in_sys != hostname)): + (hostname_in_sys == hostname_prev + and hostname_in_sys != hostname)): write_fn = self._paths.join(False, "/etc/sysconfig/network") update_files.append(write_fn) for fn in update_files: diff --git a/cloudinit/distros/ubuntu.py b/cloudinit/distros/ubuntu.py index 515b59c8..5a1b572e 100644 --- a/cloudinit/distros/ubuntu.py +++ b/cloudinit/distros/ubuntu.py @@ -72,7 +72,8 @@ class Distro(distros.Distro): if not hostname_prev or hostname_prev != hostname: update_files.append(prev_fn) if (not hostname_in_etc or - (hostname_in_etc == hostname_prev and hostname_in_etc != hostname)): + (hostname_in_etc == hostname_prev and + hostname_in_etc != hostname)): write_fn = self._paths.join(False, "/etc/hostname") update_files.append(write_fn) for fn in update_files: -- cgit v1.2.3