mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Suppress warning with IPython 4 (PY-17634)
This commit is contained in:
@@ -29,7 +29,10 @@ try:
|
||||
except ImportError:
|
||||
# Versions of IPython [0.11,1.0) had an extra hierarchy level
|
||||
from IPython.frontend.terminal.interactiveshell import TerminalInteractiveShell
|
||||
from IPython.utils.traitlets import CBool, Unicode
|
||||
try:
|
||||
from traitlets import CBool, Unicode
|
||||
except ImportError:
|
||||
from IPython.utils.traitlets import CBool, Unicode
|
||||
from IPython.core import release
|
||||
|
||||
from pydev_imports import xmlrpclib
|
||||
|
||||
Reference in New Issue
Block a user