mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
IDEA-CR-61672: PY-41887 ImportError with matplotlib
Print exception only when debug logging is enabled, because uses can have interpreter without matplotlib installed GitOrigin-RevId: 0b2bf07158280816a70f741e4058fab827df2750
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22d35f2723
commit
75ea055d4f
@@ -50,7 +50,8 @@ try:
|
||||
|
||||
except:
|
||||
# fallback in case matplotlib is not loaded correctly
|
||||
traceback.print_exc()
|
||||
if SHOW_DEBUG_INFO:
|
||||
traceback.print_exc()
|
||||
|
||||
keys = list(sys.modules.keys())
|
||||
if modules_list:
|
||||
|
||||
Reference in New Issue
Block a user