summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/app/wsapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/app/wsapi.py b/ryu/app/wsapi.py
index 94faedd2..72a4a894 100644
--- a/ryu/app/wsapi.py
+++ b/ryu/app/wsapi.py
@@ -359,7 +359,7 @@ class WSPathExtractResult:
self.error = error
-class WSPathComponent:
+class WSPathComponent(object):
"""Base class for WS path component extractors"""
def __init__(self):
@@ -367,7 +367,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