Raw unicode literals are not supported in Python3
This commit is contained in:
parent
2c381142d4
commit
1a3e1270dd
2 changed files with 3 additions and 1 deletions
1
setup.py
1
setup.py
|
|
@ -24,6 +24,7 @@ setup(
|
||||||
url='https://github.com/invisibleroads/socketIO-client',
|
url='https://github.com/invisibleroads/socketIO-client',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'requests',
|
'requests',
|
||||||
|
'six',
|
||||||
'websocket-client',
|
'websocket-client',
|
||||||
],
|
],
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ import json
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
import requests
|
import requests
|
||||||
|
import six
|
||||||
import socket
|
import socket
|
||||||
import time
|
import time
|
||||||
import websocket
|
import websocket
|
||||||
|
|
@ -11,7 +12,7 @@ from .exceptions import SocketIOError, SocketIOConnectionError, _TimeoutError
|
||||||
|
|
||||||
|
|
||||||
TRANSPORTS = 'websocket', 'xhr-polling', 'jsonp-polling'
|
TRANSPORTS = 'websocket', 'xhr-polling', 'jsonp-polling'
|
||||||
BOUNDARY = u'\ufffd'
|
BOUNDARY = six.u('\ufffd')
|
||||||
TIMEOUT_IN_SECONDS = 2
|
TIMEOUT_IN_SECONDS = 2
|
||||||
_log = logging.getLogger(__name__)
|
_log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue