summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-24 17:29:35 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-24 17:29:35 -0400
commit20cc8113dde9e6849e8a692aea64cf81a266406d (patch)
tree1e6fc4d9c4d517c02ee4053de2b647f33bbacd9b
parent6c49afad6134c5094c5e21784e76735faf510a29 (diff)
downloadvyos-cloud-init-20cc8113dde9e6849e8a692aea64cf81a266406d.tar.gz
vyos-cloud-init-20cc8113dde9e6849e8a692aea64cf81a266406d.zip
pyflakes
-rw-r--r--cloudinit/sources/DataSourceConfigDrive.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py
index 14676f97..3fa62ef3 100644
--- a/cloudinit/sources/DataSourceConfigDrive.py
+++ b/cloudinit/sources/DataSourceConfigDrive.py
@@ -382,8 +382,8 @@ def convert_network_data(network_json=None):
})
else:
subnet.update({
- 'type': 'static',
- 'address': network.get('ip_address'),
+ 'type': 'static',
+ 'address': network.get('ip_address'),
})
subnets.append(subnet)
cfg.update({'subnets': subnets})
@@ -412,7 +412,7 @@ def convert_network_data(network_json=None):
})
else:
raise ValueError(
- 'Unknown network_data link type: %s' % link['type'])
+ 'Unknown network_data link type: %s' % link['type'])
config.append(cfg)