restore ability to sign v3 notebooks

MinRK 12 years ago committed by Min RK
parent 7bf5a9d2ee
commit 7cf53c998c

@ -309,15 +309,12 @@ class ContentsManager(LoggingConfigurable):
Parameters
----------
nb : dict
The notebook object (in current nbformat)
The notebook dict
name : string
The filename of the notebook (for logging)
path : string
The notebook's directory (for logging)
"""
# can't sign old notebooks
if nb['nbformat'] != 4:
return
if self.notary.check_cells(nb):
self.notary.sign(nb)
else:

Loading…
Cancel
Save