summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/wsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/wsgi.py b/nova/wsgi.py
index d52bf855d..096d5843f 100644
--- a/nova/wsgi.py
+++ b/nova/wsgi.py
@@ -221,7 +221,7 @@ class Controller(object):
MIME types to information needed to serialize to that type.
"""
_metadata = getattr(type(self), "_serialization_metadata", {})
- serializer = wsgi.Serializer(request.environ, _metadata)
+ serializer = Serializer(request.environ, _metadata)
return serializer.to_content_type(data)