summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorEric Day <eday@oddments.org>2010-12-30 19:35:02 -0800
committerEric Day <eday@oddments.org>2010-12-30 19:35:02 -0800
commite0c83a438eb780407e94a7b48ff8f20fb1783a9f (patch)
treedc704dd3ca533f9448a1a75477703f3415c0dce8 /nova/utils.py
parent6debe20395d6ab476bfd2a237df8c2b08050e0e6 (diff)
parent7080fb40cae33017b0365bb8e2c94f515bf39d3d (diff)
downloadnova-e0c83a438eb780407e94a7b48ff8f20fb1783a9f.tar.gz
nova-e0c83a438eb780407e94a7b48ff8f20fb1783a9f.tar.xz
nova-e0c83a438eb780407e94a7b48ff8f20fb1783a9f.zip
Merged trunk.
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py
index b9045a50c..15112faa2 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -48,7 +48,8 @@ def import_class(import_str):
try:
__import__(mod_str)
return getattr(sys.modules[mod_str], class_str)
- except (ImportError, ValueError, AttributeError):
+ except (ImportError, ValueError, AttributeError), exc:
+ logging.debug(_('Inner Exception: %s'), exc)
raise exception.NotFound(_('Class %s cannot be found') % class_str)