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.

This commit is contained in:
Ryan Williams
2010-03-21 22:30:44 -07:00
parent 59d625cee1
commit abdec5657e
2 changed files with 4 additions and 3 deletions

View File

@@ -39,6 +39,7 @@ window.onload = function() {
</head> </head>
<body> <body>
<h3>Plot</h3> <h3>Plot</h3>
<p>(Only tested in Chrome)</p>
<div id="holder" style="width:600px;height:300px"></div> <div id="holder" style="width:600px;height:300px"></div>
</body> </body>
</html> </html>

View File

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