summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-07-24 09:09:08 -0400
committerScott Moser <smoser@ubuntu.com>2014-07-24 09:09:08 -0400
commitf7e63d61cffde091f0d876e4acc6778943cb7499 (patch)
treebec7d2858d483d7cf20b455f8842baa9a1535242 /cloudinit
parent27ce1e10692e93cfb9b87df547de4e0930ec4d28 (diff)
parentd6b77380f9e0a3d083300c6168c71466068094cf (diff)
downloadvyos-cloud-init-f7e63d61cffde091f0d876e4acc6778943cb7499.tar.gz
vyos-cloud-init-f7e63d61cffde091f0d876e4acc6778943cb7499.zip
change trunk packaging to be more modern.
use pybuild and drop cdbs. This also now runs test during that build and does then require build dependencies.
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