---
ryu/contrib/_eventlet/websocket.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ryu/contrib/_eventlet/websocket.py
b/ryu/contrib/_eventlet/websocket.py
index 4a07c8d..b18df66 100644
--- a/ryu/contrib/_eventlet/websocket.py
+++ b/ryu/contrib/_eventlet/websocket.py
@@ -39,14 +39,14 @@ ACCEPTABLE_CLIENT_ERRORS = set((errno.ECONNRESET,
errno.EPIPE))
__all__ = ["WebSocketWSGI", "WebSocket"]
PROTOCOL_GUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'
-VALID_CLOSE_STATUS = (range(1000, 1004)
- + range(1007, 1012)
+VALID_CLOSE_STATUS = (list(range(1000, 1004))
+ + list(range(1007, 1012))
# 3000-3999: reserved for use by libraries, frameworks,
# and applications
- + range(3000, 4000)
+ + list(range(3000, 4000))
# 4000-4999: reserved for private use and thus can't
# be registered
- + range(4000, 5000))
+ + list(range(4000, 5000)))
class BadRequest(Exception):
--
2.3.2 (Apple Git-55)
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel