diff options
Diffstat (limited to 'pyeclib')
-rw-r--r-- | pyeclib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyeclib/utils.py b/pyeclib/utils.py index e3b04a7..accbcc5 100644 --- a/pyeclib/utils.py +++ b/pyeclib/utils.py @@ -51,7 +51,7 @@ def import_class(import_str): __import__(mod_str) return getattr(sys.modules[mod_str], class_str) except (ValueError, AttributeError): - raise ImportError('Class %s cannot be found (%)' % + raise ImportError('Class %s cannot be found (%s)' % (class_str, traceback.format_exception(*sys.exc_info()))) |