summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-07-24 09:06:16 -0400
committerScott Moser <smoser@ubuntu.com>2014-07-24 09:06:16 -0400
commitd6b77380f9e0a3d083300c6168c71466068094cf (patch)
tree8e378bded7b52928843752347d0518c6d124b8e1 /cloudinit
parent97590a239dfb49d4dff216058a83852a635fd3f6 (diff)
downloadvyos-cloud-init-d6b77380f9e0a3d083300c6168c71466068094cf.tar.gz
vyos-cloud-init-d6b77380f9e0a3d083300c6168c71466068094cf.zip
pep8 fixes (2 unrelated to this mp)
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/netinfo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/netinfo.py b/cloudinit/netinfo.py
index 30b6f3b3..1bdca9f7 100644
--- a/cloudinit/netinfo.py
+++ b/cloudinit/netinfo.py
@@ -56,8 +56,8 @@ def netdev_info(empty=""):
# newer (freebsd and fedora) show 'inet xx.yy'
# just skip this 'inet' entry. (LP: #1285185)
try:
- if (toks[i] in ("inet", "inet6") and
- toks[i + 1].startswith("addr:")):
+ if ((toks[i] in ("inet", "inet6") and
+ toks[i + 1].startswith("addr:"))):
continue
except IndexError:
pass