summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-05-27 14:32:43 -0400
committerScott Moser <smoser@ubuntu.com>2016-05-27 14:32:43 -0400
commit91734552a2d338938ed0e3aa4885f77b99409ead (patch)
tree0ef5d0ac1cef84bc332f42c4de375dce7e0b44b3 /cloudinit/sources/DataSourceSmartOS.py
parent8a148ed934156c63a76a28c9d3a33278e52d71d1 (diff)
downloadvyos-cloud-init-91734552a2d338938ed0e3aa4885f77b99409ead.tar.gz
vyos-cloud-init-91734552a2d338938ed0e3aa4885f77b99409ead.zip
fix pyflakes and flake8
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py
index e9ff1235..f5820696 100644
--- a/cloudinit/sources/DataSourceSmartOS.py
+++ b/cloudinit/sources/DataSourceSmartOS.py
@@ -722,8 +722,7 @@ def convert_smartos_network_data(network_data=None):
if k in valid_keys['physical']}
cfg.update({
'type': 'physical',
- 'name': nic['interface']
- })
+ 'name': nic['interface']})
if 'mac' in nic:
cfg.update({'mac_address': nic['mac']})