diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-07-24 09:09:08 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-07-24 09:09:08 -0400 |
commit | f7e63d61cffde091f0d876e4acc6778943cb7499 (patch) | |
tree | bec7d2858d483d7cf20b455f8842baa9a1535242 /cloudinit | |
parent | 27ce1e10692e93cfb9b87df547de4e0930ec4d28 (diff) | |
parent | d6b77380f9e0a3d083300c6168c71466068094cf (diff) | |
download | vyos-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.py | 4 |
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 |