##// END OF EJS Templates
ConnectionFileMixin is Configurable...
MinRK -
Show More
@@ -34,14 +34,13 b' import zmq'
34 from IPython.external.ssh import tunnel
34 from IPython.external.ssh import tunnel
35
35
36 # IPython imports
36 # IPython imports
37 # from IPython.config import Configurable
37 from IPython.config import Configurable
38 from IPython.core.profiledir import ProfileDir
38 from IPython.core.profiledir import ProfileDir
39 from IPython.utils.localinterfaces import LOCALHOST
39 from IPython.utils.localinterfaces import LOCALHOST
40 from IPython.utils.path import filefind, get_ipython_dir
40 from IPython.utils.path import filefind, get_ipython_dir
41 from IPython.utils.py3compat import str_to_bytes, bytes_to_str
41 from IPython.utils.py3compat import str_to_bytes, bytes_to_str
42 from IPython.utils.traitlets import (
42 from IPython.utils.traitlets import (
43 Bool, Integer, Unicode, CaselessStrEnum,
43 Bool, Integer, Unicode, CaselessStrEnum,
44 HasTraits,
45 )
44 )
46
45
47
46
@@ -383,7 +382,7 b' channel_socket_types = {'
383
382
384 port_names = [ "%s_port" % channel for channel in ('shell', 'stdin', 'iopub', 'hb', 'control')]
383 port_names = [ "%s_port" % channel for channel in ('shell', 'stdin', 'iopub', 'hb', 'control')]
385
384
386 class ConnectionFileMixin(HasTraits):
385 class ConnectionFileMixin(Configurable):
387 """Mixin for configurable classes that work with connection files"""
386 """Mixin for configurable classes that work with connection files"""
388
387
389 # The addresses for the communication channels
388 # The addresses for the communication channels
General Comments 0
You need to be logged in to leave comments. Login now