summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2014-03-16 21:13:21 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-03-16 21:13:21 +0900
commit08f7517234a181d133e9397866e383322761d5be (patch)
tree72020ac50f5ec1e06020ea05126de744bef0d495
parent06f343bb99269bc8138e155d0b60bf4efd08307f (diff)
dpset: absorb *args, **kwargs passed to __init__
dpset might be initialied implicitly like OFPHandler. In that case, _CONTEXTS are passed to dpset. so we should ignore them. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/controller/dpset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/controller/dpset.py b/ryu/controller/dpset.py
index b6be118c..b74e2ec4 100644
--- a/ryu/controller/dpset.py
+++ b/ryu/controller/dpset.py
@@ -88,7 +88,7 @@ class DPSet(app_manager.RyuApp):
connected to this controller.
"""
- def __init__(self):
+ def __init__(self, *args, **kwargs):
super(DPSet, self).__init__()
self.name = 'dpset'