pep8 fixes
This commit is contained in:
parent
fa2d027e33
commit
3012d269ff
3 changed files with 8 additions and 6 deletions
|
@ -1608,8 +1608,10 @@ class SunOSNetwork(GenericBsdIfconfigNetwork, Network):
|
|||
else:
|
||||
current_if = interfaces[device]
|
||||
flags = self.get_options(words[1])
|
||||
if 'IPv4' in flags: v = 'ipv4'
|
||||
if 'IPv6' in flags: v = 'ipv6'
|
||||
if 'IPv4' in flags:
|
||||
v = 'ipv4'
|
||||
if 'IPv6' in flags:
|
||||
v = 'ipv6'
|
||||
current_if[v].append({'flags': flags, 'mtu': words[3]})
|
||||
current_if['macaddress'] = 'unknown' # will be overwritten later
|
||||
return current_if
|
||||
|
|
Loading…
Reference in a new issue