summaryrefslogtreecommitdiffstats
path: root/nova/vnc
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2011-03-23 02:06:16 -0700
committerAnthony Young <sleepsonthefloor@gmail.com>2011-03-23 02:06:16 -0700
commite2f085eae874012784e53416f6e6213dcfde4859 (patch)
tree05e9c732b582a00abae483eac4e5a2f475ae5f6a /nova/vnc
parent9c75878e5f6f1b90695e725d7bc8e6e9002cabbb (diff)
downloadnova-e2f085eae874012784e53416f6e6213dcfde4859.tar.gz
nova-e2f085eae874012784e53416f6e6213dcfde4859.tar.xz
nova-e2f085eae874012784e53416f6e6213dcfde4859.zip
use the nova Server object
Diffstat (limited to 'nova/vnc')
-rw-r--r--nova/vnc/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/vnc/proxy.py b/nova/vnc/proxy.py
index 3f218e744..5dc83fcb1 100644
--- a/nova/vnc/proxy.py
+++ b/nova/vnc/proxy.py
@@ -70,7 +70,7 @@ class WebsocketVNCProxy(object):
t2.wait()
_handle(environ, start_response)
- def serve(self, environ, start_response):
+ def __call__(self, environ, start_response):
req = Request(environ)
if req.path == '/data':
return self.proxy_connection(environ, start_response)