ofctl_v1_2: fix pep8
ryu/lib/ofctl_v1_2.py:444:15: E127 continuation line over-indented for visual indent Signed-off-by: TAKAHASHI Minoru <takahashi.minoru7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
afc0b98b20
commit
4c341853a5
@ -440,8 +440,8 @@ def match_to_str(ofmatch):
|
||||
match = {}
|
||||
for match_field in ofmatch.fields:
|
||||
key = keys[match_field.header]
|
||||
if key == 'dl_src' or key == 'dl_dst' or \
|
||||
key == 'arp_sha' or key == 'arp_tha':
|
||||
if key == 'dl_src' or key == 'dl_dst' or key == 'arp_sha' or \
|
||||
key == 'arp_tha':
|
||||
value = match_eth_to_str(match_field.value, match_field.mask)
|
||||
elif key == 'nw_src' or key == 'nw_dst' or \
|
||||
key == 'arp_spa' or key == 'arp_tpa':
|
||||
|
Loading…
x
Reference in New Issue
Block a user