diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-05-23 21:05:50 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-05-23 21:05:50 +0000 |
| commit | a9989ffbb91b09a772851d859db751243a5a1917 (patch) | |
| tree | 6d3cae1e259d5885b540271b060e6c9ca1402a69 | |
| parent | c7378032c8bbdc77efb98f427b73df096dd82085 (diff) | |
| parent | ae95868e5e6a0294d3ca3d80bed17da13a52096c (diff) | |
Merge "fixes bug 999206"
| -rw-r--r-- | nova/rpc/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/rpc/common.py b/nova/rpc/common.py index aee243800..886917733 100644 --- a/nova/rpc/common.py +++ b/nova/rpc/common.py @@ -235,7 +235,7 @@ def deserialize_remote_exception(conf, data): ex_type = type(failure) str_override = lambda self: message new_ex_type = type(ex_type.__name__ + "_Remote", (ex_type,), - {'__str__': str_override}) + {'__str__': str_override, '__unicode__': str_override}) try: # NOTE(ameade): Dynamically create a new exception type and swap it in # as the new type for the exception. This only works on user defined |
