From b2df56103fd4cda15a60425fa4d235f20c6d1a0c Mon Sep 17 00:00:00 2001 From: Manuel Gunther <siebenkopf@googlemail.com> Date: Tue, 9 Feb 2016 13:59:50 -0700 Subject: [PATCH] Allowed ImportError in database_directories() function --- bob/bio/base/utils/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/bio/base/utils/resources.py b/bob/bio/base/utils/resources.py index fb8cd8cf..c2acef4b 100644 --- a/bob/bio/base/utils/resources.py +++ b/bob/bio/base/utils/resources.py @@ -220,7 +220,7 @@ def database_directories(strip=['dummy'], replacements = None): dirs[entry_point.name] = [db.original_directory] if db.annotation_directory is not None: dirs[entry_point.name].append(db.annotation_directory) - except (AttributeError, ValueError): + except (AttributeError, ValueError, ImportError): pass return dirs -- GitLab