mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Log matplotlib activation errors (PY-26369)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
import sys
|
||||
import traceback
|
||||
from types import ModuleType
|
||||
|
||||
|
||||
@@ -23,6 +24,7 @@ class ImportHookManager(ModuleType):
|
||||
activate_func() #call activate function
|
||||
except:
|
||||
sys.stderr.write("Matplotlib support failed\n")
|
||||
traceback.print_exc()
|
||||
return module
|
||||
|
||||
if sys.version_info[0] >= 3:
|
||||
|
||||
Reference in New Issue
Block a user