Since __base__ does not exist in old style class, it becomes an error.
---
 ryu/base/app_manager.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py
index c666f2c..2e6336f 100644
--- a/ryu/base/app_manager.py
+++ b/ryu/base/app_manager.py
@@ -185,7 +185,7 @@ class AppManager(object):
             assert not key in self.contexts
             self.contexts[key] = context
             # hack for dpset
-            if context.__class__.__base__ == RyuApp:
+            if RyuApp in context.__class__.__bases__:
                 register_app(context)
         return self.contexts
 
-- 
1.7.1


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to