diff options
| author | root <root@tonbuntu> | 2010-11-08 20:38:21 -0800 |
|---|---|---|
| committer | root <root@tonbuntu> | 2010-11-08 20:38:21 -0800 |
| commit | b78364281dc5d5090faf6da8fbdddf90d60e514b (patch) | |
| tree | f359f4cf50498b08381367e88ecbed4b9b59b664 /nova/api | |
| parent | 2a81e25f89c761582d8cd575566f68d3ed5754ed (diff) | |
| parent | 0131600277f5a2e7183640e1f0d9886315933c1a (diff) | |
merge in trunk
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/api/__init__.py b/nova/api/__init__.py index f693225d9..1dabd3d21 100644 --- a/nova/api/__init__.py +++ b/nova/api/__init__.py @@ -30,6 +30,7 @@ import routes import webob.dec from nova import flags +from nova import utils from nova import wsgi from nova.api import cloudpipe from nova.api import ec2 @@ -83,6 +84,7 @@ class API(wsgi.Router): mapper.connect("/cloudpipe/{path_info:.*}", controller=cloudpipe.API()) super(API, self).__init__(mapper) + @utils.fix_wsgify_docstr @webob.dec.wsgify def osapi_versions(self, req): """Respond to a request for all OpenStack API versions.""" @@ -94,6 +96,7 @@ class API(wsgi.Router): "attributes": dict(version=["status", "id"])}} return wsgi.Serializer(req.environ, metadata).to_content_type(response) + @utils.fix_wsgify_docstr @webob.dec.wsgify def ec2api_versions(self, req): """Respond to a request for all EC2 versions.""" |
