diff options
| author | Brian Lamar <brian.lamar@rackspace.com> | 2011-03-17 12:39:09 -0400 |
|---|---|---|
| committer | Brian Lamar <brian.lamar@rackspace.com> | 2011-03-17 12:39:09 -0400 |
| commit | d31e0f0ad048fbd0374170ea76968859a4c6df34 (patch) | |
| tree | a31215df77056037e0b7a13b06b78ee2babee915 /nova/api | |
| parent | 0f9efc9deedf60d10308763f579bd8682cd0392b (diff) | |
Fixed pep8 violation.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/faults.py | 3 |
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 |
