aboutsummaryrefslogtreecommitdiff
path: root/third_party/websockify
diff options
context:
space:
mode:
authorAlan Kligman <alan.kligman@gmail.com>2012-12-01 18:31:36 -0500
committerAlan Kligman <alan.kligman@gmail.com>2012-12-19 18:06:48 -0500
commit315f13e5a1b35e23241da080f0df16e80ece88ae (patch)
treeed8d07eb649011f9b10b6f3a749073c37b033aca /third_party/websockify
parent1c796635aa711764d18a47577d5e94ead309506c (diff)
Updated scripts to call python2 directly rather than relying on python symlink pointing to the right place. See PEP394 for details on why this should be OK.
Diffstat (limited to 'third_party/websockify')
-rwxr-xr-xthird_party/websockify/run2
-rw-r--r--third_party/websockify/websockify/websocket.py2
-rwxr-xr-xthird_party/websockify/websockify/websocketproxy.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/third_party/websockify/run b/third_party/websockify/run
index 54db9b8d..2802254f 100755
--- a/third_party/websockify/run
+++ b/third_party/websockify/run
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import websockify
diff --git a/third_party/websockify/websockify/websocket.py b/third_party/websockify/websockify/websocket.py
index 3f539a1d..9ce13159 100644
--- a/third_party/websockify/websockify/websocket.py
+++ b/third_party/websockify/websockify/websocket.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
'''
Python WebSocket library with support for "wss://" encryption.
diff --git a/third_party/websockify/websockify/websocketproxy.py b/third_party/websockify/websockify/websocketproxy.py
index 1154d925..18d0a284 100755
--- a/third_party/websockify/websockify/websocketproxy.py
+++ b/third_party/websockify/websockify/websocketproxy.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
'''
A WebSocket to TCP socket proxy with support for "wss://" encryption.