Commit a68350ad authored by Stephan Rave's avatar Stephan Rave
Browse files

[defaults] not not warn on missing optional dependencies

parent 22e3a95f
......@@ -54,6 +54,7 @@ import pkgutil
import textwrap
import threading
from pymor.core.exceptions import DependencyMissing
from import format_table
......@@ -253,6 +254,8 @@ def _import_all(package_name='pymor'):
for p in pkgutil.walk_packages(package.__path__, package_name + '.', onerror=onerror):
except DependencyMissing:
except ImportError:
from pymor.core.logger import getLogger
logger = getLogger('pymor.core.defaults._import_all')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment