Use WebOb directly in ec2_token middleware

When https://review.openstack.org/#/c/71494/ was introduced, it
forgot to change ec2_token as well. This caused errors when building
docs.

Change-Id: I051519c815ed5ae60ec07203073131db1e031e10
This commit is contained in:
Steve Martinelli 2014-02-13 10:04:53 -06:00 committed by Brant Knudson
parent 59c28d1feb
commit 4e10d7cc1e
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ CONF.register_opts(keystone_ec2_opts)
class EC2Token(wsgi.Middleware):
"""Authenticate an EC2 request with keystone and convert to token."""
@webob.dec.wsgify(RequestClass=wsgi.Request)
@webob.dec.wsgify()
def __call__(self, req):
# Read request signature and access id.
try: