summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2015-08-12 00:00:29 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-20 17:35:26 +0900
commit2fb5871a5686ff9410f154fbd1ddacdeb7850f8b (patch)
tree42957a106057b691115c2428704b6ed67ca2be57
parent31acdf8462eb180be8f7efdedd0cbe3c080ecc3c (diff)
PEP8 Line length
Signed-off-by: Jason Kölker <jason@koelker.net> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/nx_match.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ryu/ofproto/nx_match.py b/ryu/ofproto/nx_match.py
index 5259a619..4f7db8ab 100644
--- a/ryu/ofproto/nx_match.py
+++ b/ryu/ofproto/nx_match.py
@@ -916,14 +916,16 @@ class MFRegister(MFField):
@_register_make
-@_set_nxm_headers([ofproto_v1_0.NXM_NX_PKT_MARK, ofproto_v1_0.NXM_NX_PKT_MARK_W])
+@_set_nxm_headers([ofproto_v1_0.NXM_NX_PKT_MARK,
+ ofproto_v1_0.NXM_NX_PKT_MARK_W])
class MFPktMark(MFField):
@classmethod
def make(cls, header):
return cls(header, MF_PACK_STRING_BE32)
def put(self, buf, offset, rule):
- return self.putm(buf, offset, rule.flow.pkt_mark, rule.wc.pkt_mark_mask)
+ return self.putm(buf, offset, rule.flow.pkt_mark,
+ rule.wc.pkt_mark_mask)
def serialize_nxm_match(rule, buf, offset):