diff --git a/IPython/nbformat/v3/rwbase.py b/IPython/nbformat/v3/rwbase.py index 6d4274d..8b0635b 100644 --- a/IPython/nbformat/v3/rwbase.py +++ b/IPython/nbformat/v3/rwbase.py @@ -150,6 +150,9 @@ def strip_transient(nb): for ws in nb['worksheets']: for cell in ws['cells']: cell.get('metadata', {}).pop('trusted', None) + # strip cell.trusted even though it shouldn't be used, + # since it's where the transient value used to be stored. + cell.pop('trusted', None) return nb