diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-19 21:49:58 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-19 21:49:58 -0700 |
commit | 1f138d244b1402298d31adcbc6815eca12c89da9 (patch) | |
tree | fad2b277423c235b7e79f6b0bb888c95aae9fc61 /cloudinit/distros/ubuntu.py | |
parent | 013d5734d2193d81502d1f73480cd49569a82dc8 (diff) | |
download | vyos-cloud-init-1f138d244b1402298d31adcbc6815eca12c89da9.tar.gz vyos-cloud-init-1f138d244b1402298d31adcbc6815eca12c89da9.zip |
Pylint line length fixups.
Diffstat (limited to 'cloudinit/distros/ubuntu.py')
-rw-r--r-- | cloudinit/distros/ubuntu.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |