summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_mounts.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2018-05-16 19:09:32 -0400
committerScott Moser <smoser@ubuntu.com>2018-05-16 19:09:32 -0400
commit13f7f4e802729d22e9906155fee435c3e8a8975b (patch)
tree13e9c75ad501e3286c9a2c3263b2f134d47c6a66 /cloudinit/config/cc_mounts.py
parentc2494322282575360a6eef3b02a80a3e3e5061d3 (diff)
downloadvyos-cloud-init-13f7f4e802729d22e9906155fee435c3e8a8975b.tar.gz
vyos-cloud-init-13f7f4e802729d22e9906155fee435c3e8a8975b.zip
flake8: fix flake8 errors in previous commit.
Diffstat (limited to 'cloudinit/config/cc_mounts.py')
-rw-r--r--cloudinit/config/cc_mounts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_mounts.py b/cloudinit/config/cc_mounts.py
index 02bedaba..b3b25c3b 100644
--- a/cloudinit/config/cc_mounts.py
+++ b/cloudinit/config/cc_mounts.py
@@ -280,8 +280,8 @@ def handle_swapcfg(swapcfg):
if os.path.exists(fname):
if not os.path.exists("/proc/swaps"):
- LOG.debug("swap file %s exists, but no /proc/swaps exists, being safe",
- fname)
+ LOG.debug("swap file %s exists, but no /proc/swaps exists, "
+ "being safe", fname)
return fname
try:
for line in util.load_file("/proc/swaps").splitlines():