diff options
| author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2011-09-28 15:01:27 +0000 |
|---|---|---|
| committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2011-09-28 15:14:56 +0000 |
| commit | 82bef282c93a574ee5cfb2b34e0d8c077c2a7efe (patch) | |
| tree | 2115d58d624441f23b8da35c83338368ee69db59 /bin | |
| parent | a2646129bc9dbd9dec57bdde7f510e0ea7bbddea (diff) | |
| download | nova-82bef282c93a574ee5cfb2b34e0d8c077c2a7efe.tar.gz nova-82bef282c93a574ee5cfb2b34e0d8c077c2a7efe.tar.xz nova-82bef282c93a574ee5cfb2b34e0d8c077c2a7efe.zip | |
Accept message as sole argument to NovaException
Fixes bug 860666
Python nose will sometimes recreate an exception to add captured log
information to the string representation of the exception. It assumes
that it can do this by reinstantiating the class of the originally
triggered exception with one argument, a new string description.
NovaException, and some child classes, didn't work well with this
scheme and would result in a further exception during formatting, which
would result in an unformatted string being displayed.
Change-Id: I7152cb7809fa1deb3986c127370f670fb2da342d
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions
