Later some applications uses those arguments.
Signed-off-by: Isaku Yamahata <[email protected]>
---
ryu/base/app_manager.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py
index aece004..95fc0b7 100644
--- a/ryu/base/app_manager.py
+++ b/ryu/base/app_manager.py
@@ -56,8 +56,11 @@ class RyuApp(object):
"""
return cls._CONTEXTS.iteritems()
- def __init__(self, *_args, **_kwargs):
+ def __init__(self, *args, **kwargs):
super(RyuApp, self).__init__()
+ self._args = args
+ self._kwargs = kwargs
+
self.name = self.__class__.__name__
self.event_handlers = {}
self.observers = {}
--
1.7.10.4
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel