mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-09 06:16:10 +02:00
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:
parent
0356f5ff22
commit
d91f5e08f7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user