Show More
@@ -86,7 +86,7 b' class BaseJSONConfigManager(LoggingConfigurable):' | |||||
86 | else: |
|
86 | else: | |
87 | f = open(filename, 'wb') |
|
87 | f = open(filename, 'wb') | |
88 | with f: |
|
88 | with f: | |
89 | json.dump(data, f) |
|
89 | json.dump(data, f, indent=2) | |
90 |
|
90 | |||
91 | def update(self, section_name, new_data): |
|
91 | def update(self, section_name, new_data): | |
92 | """Modify the config section by recursively updating it with new_data. |
|
92 | """Modify the config section by recursively updating it with new_data. |
@@ -8,7 +8,7 b' import os' | |||||
8 | from IPython.config.manager import BaseJSONConfigManager |
|
8 | from IPython.config.manager import BaseJSONConfigManager | |
9 |
|
9 | |||
10 | class ConfigManager(BaseJSONConfigManager): |
|
10 | class ConfigManager(BaseJSONConfigManager): | |
11 |
"""Config Manager use for storin |
|
11 | """Config Manager used for storing notebook frontend config""" | |
12 |
|
12 | |||
13 | def _config_dir(self): |
|
13 | def _config_dir(self): | |
14 | return os.path.join(self.profile_dir, 'nbconfig') |
|
14 | return os.path.join(self.profile_dir, 'nbconfig') |
General Comments 0
You need to be logged in to leave comments.
Login now