From bb5b2b6fd89d21b60e39aefb545aa89eaa2e8b68 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 3 Jan 2015 15:22:27 +0100 Subject: [PATCH] Fixed bug in class_import --- src/utils/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/utils.py b/src/utils/utils.py index 017bbcd90d..f917580305 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -948,6 +948,7 @@ def class_from_module(path, defaultpaths=None): if not str(ex).startswith("No module named"): exc = sys.exc_info() raise exc[1], None, exc[2] + continue try: cls = getattr(mod, clsname) break