diff options
| author | Michael Gundlach <michael.gundlach@rackspace.com> | 2010-08-30 19:10:17 -0400 |
|---|---|---|
| committer | Michael Gundlach <michael.gundlach@rackspace.com> | 2010-08-30 19:10:17 -0400 |
| commit | 4bca41506c90e779a8d4a5defdca3add79073185 (patch) | |
| tree | fc3c9dfb5c1f621c6a6f93966f3b20b51f35a860 /nova/endpoint | |
| parent | be2b529a987627bf454f7343df74d4e8ae670761 (diff) | |
Move APIRequestContext into its own file
Diffstat (limited to 'nova/endpoint')
| -rwxr-xr-x | nova/endpoint/api.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nova/endpoint/api.py b/nova/endpoint/api.py index 5a4e496a0..311fb1880 100755 --- a/nova/endpoint/api.py +++ b/nova/endpoint/api.py @@ -22,7 +22,6 @@ Most calls are proxied into the responsible controller. """ import multiprocessing -import random import re import urllib @@ -38,17 +37,6 @@ FLAGS = flags.FLAGS flags.DEFINE_integer('cc_port', 8773, 'cloud controller port') -class APIRequestContext(object): - def __init__(self, handler, user, project): - self.handler = handler - self.user = user - self.project = project - self.request_id = ''.join( - [random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-') - for x in xrange(20)] - ) - - class RootRequestHandler(tornado.web.RequestHandler): def get(self): # available api versions |
