summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-03-17 12:39:09 -0400
committerBrian Lamar <brian.lamar@rackspace.com>2011-03-17 12:39:09 -0400
commitd31e0f0ad048fbd0374170ea76968859a4c6df34 (patch)
treea31215df77056037e0b7a13b06b78ee2babee915
parent0f9efc9deedf60d10308763f579bd8682cd0392b (diff)
Fixed pep8 violation.
-rw-r--r--nova/api/openstack/faults.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/faults.py b/nova/api/openstack/faults.py
index d05c61fc7..56f5b8e7e 100644
--- a/nova/api/openstack/faults.py
+++ b/nova/api/openstack/faults.py
@@ -94,5 +94,6 @@ class OverLimitFault(webob.exc.HTTPException):
"""Currently just return the wrapped exception."""
serializer = wsgi.Serializer(self._serialization_metadata)
content_type = request.best_match_content_type()
- self.wrapped_exc.body = serializer.serialize(self.content, content_type)
+ content = serializer.serialize(self.content, content_type)
+ self.wrapped_exc.body = content
return self.wrapped_exc