summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnbit <info@unbit.it>2018-04-29 09:10:50 +0200
committerGitHub <noreply@github.com>2018-04-29 09:10:50 +0200
commitbe06a658433cd1c35f679de9159201d576a6d4d9 (patch)
treec252f5e9acd981ddbf897c2401d81ab620880f21
parentac735e4c3cf2f956a1c26f80577f903fd2f37f4a (diff)
parentc81a1090fe0749be29db9ed0b79deb8c3a8aacd3 (diff)
downloaduwsgi-customworker.tar.gz
Merge pull request #1511 from xenu256/patch-3customworker
print without parentheses fix
-rw-r--r--tests/websockets_chat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/websockets_chat.py b/tests/websockets_chat.py
index d6f5d70d..c8bd2073 100644
--- a/tests/websockets_chat.py
+++ b/tests/websockets_chat.py
@@ -54,7 +54,7 @@ def application(env, sr):
return ""
elif env['PATH_INFO'] == '/foobar/':
uwsgi.websocket_handshake(env['HTTP_SEC_WEBSOCKET_KEY'], env.get('HTTP_ORIGIN', ''))
- print "websockets..."
+ print("websockets...")
r = redis.StrictRedis(host='localhost', port=6379, db=0)
channel = r.pubsub()
channel.subscribe('foobar')