mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
[2016.3] Pylint fix (#39202)
This commit is contained in:
parent
ab76054127
commit
7bed68743e
@ -76,7 +76,7 @@ def _interface_configs():
|
||||
current_ip_list.append(val)
|
||||
|
||||
elif 'ip address' in lkey:
|
||||
current_iface.setdefault('ip_addrs', []).append({key:val})
|
||||
current_iface.setdefault('ip_addrs', []).append({key: val})
|
||||
|
||||
elif 'subnet prefix' in lkey:
|
||||
subnet, _, netmask = val.split(' ', 2)
|
||||
@ -90,7 +90,6 @@ def _interface_configs():
|
||||
return ret
|
||||
|
||||
|
||||
|
||||
def raw_interface_configs():
|
||||
'''
|
||||
Return raw configs for all interfaces
|
||||
|
Loading…
Reference in New Issue
Block a user