WSPathArbitraryString.__str__ method should be instance method.

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 6205565..2b6e7c3 100644
--- a/ryu/app/wsapi.py
+++ b/ryu/app/wsapi.py
@@ -483,8 +483,8 @@ class WSPathArbitraryString(WSPathComponent):
         WSPathComponent.__init__(self)
         self._name = name
 
-        def __str__(self):
-            return self._name
+    def __str__(self):
+        return self._name
 
     def extract(self, pc, data):
         if pc == None:
-- 
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

Reply via email to