From 880257a431dcc190cf80dfe5a49983f94fd1f1e0 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Tue, 25 Sep 2012 22:23:01 -0700 Subject: [PATCH] Import everything in websocketproxy and websocket Old users of the websockify library used websockify.WebSocketProxy The refactor into a module unneccessarily broke this import. The current imports in __init__.py don't actually do anything so this patch changes the import to import everything so that the old import still works. This appears to be the original intention of the existing import statements. --- websockify/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/websockify/__init__.py b/websockify/__init__.py index 9e75803..e8f2eaf 100644 --- a/websockify/__init__.py +++ b/websockify/__init__.py @@ -1 +1,2 @@ -import websocket, websocketproxy +from websocket import * +from websocketproxy import *