pep8 fixes

This commit is contained in:
Michael DeHaan 2013-06-01 12:29:03 -04:00
parent fa2d027e33
commit 3012d269ff
3 changed files with 8 additions and 6 deletions

View file

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