mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 04:53:01 +00:00
Merge pull request #41 from minrk/kernel_argv_2.x
don't pass notebook app args to kernel
This commit is contained in:
@@ -94,6 +94,11 @@ class SingleUserNotebookApp(NotebookApp):
|
|||||||
# disable the exit confirmation for background notebook processes
|
# disable the exit confirmation for background notebook processes
|
||||||
ioloop.IOLoop.instance().stop()
|
ioloop.IOLoop.instance().stop()
|
||||||
|
|
||||||
|
def init_kernel_argv(self):
|
||||||
|
"""construct the kernel arguments"""
|
||||||
|
# FIXME: This is 2.x-compat, remove when 3.x is requred
|
||||||
|
self.kernel_argv = ["--profile-dir", self.profile_dir.location]
|
||||||
|
|
||||||
def init_webapp(self):
|
def init_webapp(self):
|
||||||
# monkeypatch authentication to use the hub
|
# monkeypatch authentication to use the hub
|
||||||
from IPython.html.base.handlers import AuthenticatedHandler
|
from IPython.html.base.handlers import AuthenticatedHandler
|
||||||
|
Reference in New Issue
Block a user