diff --git a/notebook/notebookapp.py b/notebook/notebookapp.py index 8ccd75b94a..cfee169e0c 100755 --- a/notebook/notebookapp.py +++ b/notebook/notebookapp.py @@ -1286,14 +1286,6 @@ def _notebook_dir_validate(self, proposal): raise TraitError(trans.gettext("No such notebook dir: '%r'") % value) return value - @observe('notebook_dir') - def _update_notebook_dir(self, change): - """Do a bit of validation of the notebook dir.""" - # setting App.notebook_dir implies setting notebook and kernel dirs as well - new = change['new'] - self.config.FileContentsManager.root_dir = new - self.config.MappingKernelManager.root_dir = new - # TODO: Remove me in notebook 5.0 server_extensions = List(Unicode(), config=True, help=(_("DEPRECATED use the nbserver_extensions dict instead"))