Commits

Ryan Williams  committed 9c14b6d

Corrected get_errno import to make websocket example work again (boo me for using an internal API). Added note about which browser it works with.

  • Participants
  • Parent commits b837a33

Comments (0)

Files changed (2)

File examples/websocket.html

 </head>
 <body>
 <h3>Plot</h3>
+<p>(Only tested in Chrome)</p>
 <div id="holder" style="width:600px;height:300px"></div>
 </body>
-</html>
+</html>

File examples/websocket.py

 import collections
 import errno
+import eventlet
 from eventlet import wsgi
 from eventlet import pools
-import eventlet
-from eventlet.common import get_errno
+from eventlet.support import get_errno
 
 class WebSocketWSGI(object):
     def __init__(self, handler, origin):