summaryrefslogtreecommitdiff
path: root/cloudinit/net
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-21 13:36:30 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-21 13:36:30 -0400
commit58d0b39d20ec5c18b1c9449c6358242860356e0d (patch)
tree0da9490d5c1f519705e0b3863f1b765b657f9775 /cloudinit/net
parented28818c80628b10c2435e77b86c81dad05674e1 (diff)
downloadvyos-cloud-init-58d0b39d20ec5c18b1c9449c6358242860356e0d.tar.gz
vyos-cloud-init-58d0b39d20ec5c18b1c9449c6358242860356e0d.zip
fix flake8
Diffstat (limited to 'cloudinit/net')
-rw-r--r--cloudinit/net/eni.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py
index fe3800ed..d963d1f2 100644
--- a/cloudinit/net/eni.py
+++ b/cloudinit/net/eni.py
@@ -379,7 +379,7 @@ class Renderer(renderer.Renderer):
iface['inet'] = subnet_inet
if iface['mode'].startswith('dhcp'):
iface['mode'] = 'dhcp'
-
+
lines = list(
_iface_start_entry(iface, index) +
_iface_add_subnet(iface, subnet) +
@@ -407,8 +407,6 @@ class Renderer(renderer.Renderer):
def _render_interfaces(self, network_state):
'''Given state, emit etc/network/interfaces content.'''
- content = ""
-
# handle 'lo' specifically as we need to insert the global dns entries
# there (as that is the only interface that will be always up).
lo = {'name': 'lo', 'type': 'physical', 'inet': 'inet',