##// END OF EJS Templates
Backport PR #8237: Don't write notebooks to disk when signing them...
Backport PR #8237: Don't write notebooks to disk when signing them Since the signature isn't stored in the notebook anymore, there's nothing to write.

File last commit:

r20495:1d4099c8
r21109:f3b9d0fd
Show More
manager.py
14 lines | 438 B | text/x-python | PythonLexer
Thomas Kluyver
First stab at ConfigManager class
r19083 """Manager to read and modify frontend config data in JSON files.
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
Bussonnier Matthias
generalise manager
r19540 import os
Thomas Kluyver
First stab at ConfigManager class
r19083
Matthias Bussonnier
s/Json/JSON/g **/*.py
r19571 from IPython.config.manager import BaseJSONConfigManager
Thomas Kluyver
First stab at ConfigManager class
r19083
Matthias Bussonnier
s/Json/JSON/g **/*.py
r19571 class ConfigManager(BaseJSONConfigManager):
Thomas Kluyver
Dump frontend config JSON with an indent...
r20495 """Config Manager used for storing notebook frontend config"""
Thomas Kluyver
First stab at ConfigManager class
r19083
Bussonnier Matthias
generalise manager
r19540 def _config_dir(self):
Thomas Kluyver
First stab at ConfigManager class
r19083 return os.path.join(self.profile_dir, 'nbconfig')