summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortakahashi.minoru <takahashi.minoru7@gmail.com>2014-06-02 14:02:26 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-06-03 22:49:13 +0900
commit4c341853a5cc6c5ae64a93ed4f43db006cf1e4e4 (patch)
tree67582ad37f2e1448b8344f5bf81d716ff247f8ed
parentafc0b98b20467231be2d8899e0708a39c5b77f19 (diff)
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>
-rw-r--r--ryu/lib/ofctl_v1_2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py
index fae45ea0..0ad85ee2 100644
--- a/ryu/lib/ofctl_v1_2.py
+++ b/ryu/lib/ofctl_v1_2.py
@@ -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':