From 9f938720f158889252fa1db44be96745fa48e1ff Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Sun, 17 Jun 2012 04:05:37 -0400 Subject: Update common code to support pep 1.3. bug 1014216 Change-Id: I3f8fa2e11c9d3f3d34fb20f65ce886bb9c94463d --- openstack/common/importutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstack/common/importutils.py') diff --git a/openstack/common/importutils.py b/openstack/common/importutils.py index 7654af5..b507d22 100644 --- a/openstack/common/importutils.py +++ b/openstack/common/importutils.py @@ -30,7 +30,7 @@ def import_class(import_str): return getattr(sys.modules[mod_str], class_str) except (ImportError, ValueError, AttributeError), exc: raise ImportError('Class %s cannot be found (%s)' % - (class_str, str(exc))) + (class_str, str(exc))) def import_object(import_str, *args, **kwargs): -- cgit