Skip to content

Commit f185f41

Browse files
authored
Merge pull request #5021 from krinsman/master
Fixes #5002
2 parents 1d76105 + 765c9f7 commit f185f41

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

notebook/notebookapp.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,14 +1286,6 @@ def _notebook_dir_validate(self, proposal):
12861286
raise TraitError(trans.gettext("No such notebook dir: '%r'") % value)
12871287
return value
12881288

1289-
@observe('notebook_dir')
1290-
def _update_notebook_dir(self, change):
1291-
"""Do a bit of validation of the notebook dir."""
1292-
# setting App.notebook_dir implies setting notebook and kernel dirs as well
1293-
new = change['new']
1294-
self.config.FileContentsManager.root_dir = new
1295-
self.config.MappingKernelManager.root_dir = new
1296-
12971289
# TODO: Remove me in notebook 5.0
12981290
server_extensions = List(Unicode(), config=True,
12991291
help=(_("DEPRECATED use the nbserver_extensions dict instead"))

0 commit comments

Comments
 (0)