Show More
@@ -19,7 +19,6 b' except ImportError:' | |||
|
19 | 19 | except ImportError: |
|
20 | 20 | sqlite3 = None |
|
21 | 21 | |
|
22 | from IPython.utils.io import atomic_writing | |
|
23 | 22 | from IPython.utils.py3compat import unicode_type, cast_bytes |
|
24 | 23 | from IPython.utils.traitlets import Instance, Bytes, Enum, Any, Unicode, Bool, Integer |
|
25 | 24 | from IPython.config import LoggingConfigurable, MultipleInstanceError |
@@ -403,8 +402,6 b' class TrustNotebookApp(BaseIPythonApplication):' | |||
|
403 | 402 | else: |
|
404 | 403 | print("Signing notebook: %s" % notebook_path) |
|
405 | 404 | self.notary.sign(nb) |
|
406 | with atomic_writing(notebook_path) as f: | |
|
407 | write(nb, f, NO_CONVERT) | |
|
408 | 405 | |
|
409 | 406 | def generate_new_key(self): |
|
410 | 407 | """Generate a new notebook signature key""" |
General Comments 0
You need to be logged in to leave comments.
Login now