[2016.3] Pylint fix (#39202)

This commit is contained in:
Nicole Thomas 2017-02-06 14:42:30 -07:00 committed by GitHub
parent ab76054127
commit 7bed68743e

View File

@ -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