Raw unicode literals are not supported in Python3

This commit is contained in:
Roy Hyunjin Han 2013-11-03 18:28:57 -08:00
commit 1a3e1270dd
2 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@ setup(
url='https://github.com/invisibleroads/socketIO-client',
install_requires=[
'requests',
'six',
'websocket-client',
],
packages=find_packages(),

View file

@ -2,6 +2,7 @@ import json
import logging
import re
import requests
import six
import socket
import time
import websocket
@ -11,7 +12,7 @@ from .exceptions import SocketIOError, SocketIOConnectionError, _TimeoutError
TRANSPORTS = 'websocket', 'xhr-polling', 'jsonp-polling'
BOUNDARY = u'\ufffd'
BOUNDARY = six.u('\ufffd')
TIMEOUT_IN_SECONDS = 2
_log = logging.getLogger(__name__)