Later we create subclass of WSPathComponent so that make super() work. app/wsapi: super().__init__()
Signed-off-by: Isaku Yamahata <[email protected]> --- ryu/app/wsapi.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/app/wsapi.py b/ryu/app/wsapi.py index 2b6e7c3..7b7a548 100644 --- a/ryu/app/wsapi.py +++ b/ryu/app/wsapi.py @@ -358,7 +358,7 @@ class WSPathExtractResult: self.error = error -class WSPathComponent: +class WSPathComponent(object): """Base class for WS path component extractors""" def __init__(self): @@ -366,7 +366,7 @@ class WSPathComponent: Currently this does nothing but that may change in the future. Subclasses should call this to be sure.""" - pass + super(WSPathComponent, self).__init__() def __str__(self): """Get the string representation of the path component -- 1.7.1.1 ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
