diff options
author | Joshua Harlow <harlowja@gmail.com> | 2016-07-13 14:54:56 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2016-07-13 14:54:56 -0700 |
commit | 78a85240aac5b252bae4108514681bed7340c034 (patch) | |
tree | e560e8b798f90a4941467d87405d664a6f247dd5 | |
parent | a30eebe6b0d1e99794f01f7a9c73e79f70dfaffd (diff) | |
download | vyos-cloud-init-78a85240aac5b252bae4108514681bed7340c034.tar.gz vyos-cloud-init-78a85240aac5b252bae4108514681bed7340c034.zip |
Remove another stray dict comprehension
-rw-r--r-- | cloudinit/sources/helpers/openstack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/sources/helpers/openstack.py b/cloudinit/sources/helpers/openstack.py index d52cb56a..2d001061 100644 --- a/cloudinit/sources/helpers/openstack.py +++ b/cloudinit/sources/helpers/openstack.py @@ -542,8 +542,8 @@ def convert_net_json(network_json=None, known_macs=None): config = [] for link in links: subnets = [] - cfg = {k: v for k, v in link.items() - if k in valid_keys['physical']} + cfg = dict((k, v) for k, v in link.items() + if k in valid_keys['physical']) # 'name' is not in openstack spec yet, but we will support it if it is # present. The 'id' in the spec is currently implemented as the host # nic's name, meaning something like 'tap-adfasdffd'. We do not want |