diff options
author | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-03-21 07:54:06 -0700 |
---|---|---|
committer | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-03-21 07:54:06 -0700 |
commit | 6980263b8c31c8c8fc83e236b20950201c206e8c (patch) | |
tree | f45758b4f4bffbcef851d8cb6e3516e481ef9de8 /nova/exception.py | |
parent | 8f0b60f598c28b2f558f3ecdaa2f9604926393e6 (diff) | |
parent | cf84d5bc465823f9342a0a300176a3cf96fbb925 (diff) | |
download | nova-6980263b8c31c8c8fc83e236b20950201c206e8c.tar.gz nova-6980263b8c31c8c8fc83e236b20950201c206e8c.tar.xz nova-6980263b8c31c8c8fc83e236b20950201c206e8c.zip |
trunk merge
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)) |