This patch changes the decorates in the metadata agents to webob.Request
as they don't need to go through wsgi. Note: wsgi.Request's base class
is webob.Request.
Fixes bug:
1208907
Change-Id: I069635eb67812136d314fc260cebf65886a95597
)
return qclient
- @webob.dec.wsgify(RequestClass=wsgi.Request)
+ @webob.dec.wsgify(RequestClass=webob.Request)
def __call__(self, req):
try:
LOG.debug(_("Request: %s"), req)
msg = _('network_id and router_id are None. One must be provided.')
raise ValueError(msg)
- @webob.dec.wsgify(RequestClass=wsgi.Request)
+ @webob.dec.wsgify(RequestClass=webob.Request)
def __call__(self, req):
LOG.debug(_("Request: %s"), req)
try: