summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorMasanori Itoh <itoumsn@nttdata.co.jp>2011-04-29 22:25:28 +0900
committerMasanori Itoh <itoumsn@nttdata.co.jp>2011-04-29 22:25:28 +0900
commitaaa34f9e4b49db4f1cda4fc259c8f2c0716e3850 (patch)
tree25e863e25c50a534b876d15e67023b6005283bad /nova/utils.py
parent231842087b486638b62e906906392ec9c8e88925 (diff)
parent28f41bf8bd385ec423d1f5c1ec2798e60832117f (diff)
downloadnova-aaa34f9e4b49db4f1cda4fc259c8f2c0716e3850.tar.gz
nova-aaa34f9e4b49db4f1cda4fc259c8f2c0716e3850.tar.xz
nova-aaa34f9e4b49db4f1cda4fc259c8f2c0716e3850.zip
Rebased to trunk rev 1035.
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py
index 82ab3fc9e..80bf1197f 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -60,7 +60,7 @@ def import_class(import_str):
return getattr(sys.modules[mod_str], class_str)
except (ImportError, ValueError, AttributeError), exc:
LOG.debug(_('Inner Exception: %s'), exc)
- raise exception.NotFound(_('Class %s cannot be found') % class_str)
+ raise exception.ClassNotFound(class_name=class_str)
def import_object(import_str):