diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-24 16:05:18 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-24 16:05:18 -0400 |
commit | e2536e758f22bbce9e1fc49a319738f2c3296930 (patch) | |
tree | 5f244dca3084782d07646594edce300c1ba7e9ff /cloudinit | |
parent | 1302e3dbf762e1f0a72d7b1682a78e8947a33b76 (diff) | |
download | vyos-cloud-init-e2536e758f22bbce9e1fc49a319738f2c3296930.tar.gz vyos-cloud-init-e2536e758f22bbce9e1fc49a319738f2c3296930.zip |
pep8 fixes from last comment merge
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/net/__init__.py | 5 |
1 files 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-<name>.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=<name> is expected/required and PROTO should indicate if this is 'static' or 'dhcp'. """ - - + if mac_addrs is None: mac_addrs = {} |