remove KernelApp.parent_appname

This allowed the Kernel to load config from ipython_qtconsole_config.py
or ipython_notebook_config.py, depending on the parent that started the kernel.
This is of limited usefulness, and can add weird, unexpected side effects.
This commit is contained in:
MinRK 2014-01-31 20:54:29 -08:00
parent 9f1dc1b99f
commit 78a8cb877f

View File

@ -589,11 +589,8 @@ class NotebookApp(BaseIPythonApplication):
def init_kernel_argv(self):
"""construct the kernel arguments"""
self.kernel_argv = []
# Kernel should inherit default config file from frontend
self.kernel_argv.append("--IPKernelApp.parent_appname='%s'" % self.name)
# Kernel should get *absolute* path to profile directory
self.kernel_argv.extend(["--profile-dir", self.profile_dir.location])
self.kernel_argv = ["--profile-dir", self.profile_dir.location]
def init_configurables(self):
# force Session default to be secure