##// END OF EJS Templates
Merge pull request #1886 from tkf/fix-notebook-rename...
Fernando Perez -
r7404:68a629ff merge
parent child Browse files
Show More
@@ -228,6 +228,7 b' class NotebookManager(LoggingConfigurable):'
228 os.unlink(old_pypath)
228 os.unlink(old_pypath)
229 self.mapping[notebook_id] = new_name
229 self.mapping[notebook_id] = new_name
230 self.rev_mapping[new_name] = notebook_id
230 self.rev_mapping[new_name] = notebook_id
231 del self.rev_mapping[old_name]
231
232
232 def delete_notebook(self, notebook_id):
233 def delete_notebook(self, notebook_id):
233 """Delete notebook by notebook_id."""
234 """Delete notebook by notebook_id."""
General Comments 0
You need to be logged in to leave comments. Login now