diff options
author | Soren Hansen <soren@linux2go.dk> | 2011-03-20 20:04:51 +0100 |
---|---|---|
committer | Soren Hansen <soren@linux2go.dk> | 2011-03-20 20:04:51 +0100 |
commit | 049e895beaf862ee0af89a9c465220f1fc44b404 (patch) | |
tree | 9f9b2c2f74cfbf278b3fa6fbfe4a4dbe924943bd /nova/exception.py | |
parent | 4b18488223d2c51958855456cb4f5877f331aaa1 (diff) | |
parent | 3e255ad1bc685c0d39631540e664bde49e0670db (diff) | |
download | nova-049e895beaf862ee0af89a9c465220f1fc44b404.tar.gz nova-049e895beaf862ee0af89a9c465220f1fc44b404.tar.xz nova-049e895beaf862ee0af89a9c465220f1fc44b404.zip |
Merge trunk
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/exception.py b/nova/exception.py index 93c5fe3d7..4e2bbdbaf 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -46,7 +46,7 @@ class Error(Exception): class ApiError(Error): - def __init__(self, message='Unknown', code='Unknown'): + def __init__(self, message='Unknown', code='ApiError'): self.message = message self.code = code super(ApiError, self).__init__('%s: %s' % (code, message)) |