From e2536e758f22bbce9e1fc49a319738f2c3296930 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 24 Mar 2016 16:05:18 -0400 Subject: pep8 fixes from last comment merge --- cloudinit/net/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cloudinit/net/__init__.py b/cloudinit/net/__init__.py index 66e0e9ee..57beb837 100644 --- a/cloudinit/net/__init__.py +++ b/cloudinit/net/__init__.py @@ -306,7 +306,7 @@ def _load_shell_content(content, add_empty=False, empty_val=None): def _klibc_to_config_entry(content, mac_addrs=None): """Convert a klibc writtent shell content file to a 'config' entry When ip= is seen on the kernel command line in debian initramfs - and networking is brought up, ipconfig will populate + and networking is brought up, ipconfig will populate /run/net-.cfg. The files are shell style syntax, and examples are in the tests @@ -315,8 +315,7 @@ def _klibc_to_config_entry(content, mac_addrs=None): DEVICE= is expected/required and PROTO should indicate if this is 'static' or 'dhcp'. """ - - + if mac_addrs is None: mac_addrs = {} -- cgit v1.2.3