sw test tool: pylint

E:1026, 8: Instance of 'DummyDatapath' has no 'set_xid' member (but some types could not be inferred) (maybe-no-member)
E:1027, 8: Instance of 'DummyDatapath' has no 'send_msg' member (but some types could not be inferred) (maybe-no-member)

NOTE: These methods are never called. This patch is only for avoiding pylint error.

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Yuichi Ito 2014-05-21 17:23:47 +09:00 committed by FUJITA Tomonori
parent 0356f5ff22
commit d91f5e08f7

View File

@ -1261,3 +1261,9 @@ class DummyDatapath(object):
def __init__(self):
self.ofproto = ofproto_v1_3
self.ofproto_parser = ofproto_v1_3_parser
def set_xid(self, _):
pass
def send_msg(self, _):
pass