##// END OF EJS Templates
Backport PR #10676: avoid using private traitlets APIs in load_default_config...
Matthias Bussonnier -
Show More
@@ -365,12 +365,10 b' def load_default_config(ipython_dir=None):'
365 ipython_dir = get_ipython_dir()
365 ipython_dir = get_ipython_dir()
366
366
367 profile_dir = os.path.join(ipython_dir, 'profile_default')
367 profile_dir = os.path.join(ipython_dir, 'profile_default')
368
368 app = TerminalIPythonApp()
369 config = Config()
369 app.config_file_paths.append(profile_dir)
370 for cf in Application._load_config_files("ipython_config", path=profile_dir):
370 app.load_config_file()
371 config.update(cf)
371 return app.config
372
373 return config
374
372
375 launch_new_instance = TerminalIPythonApp.launch_instance
373 launch_new_instance = TerminalIPythonApp.launch_instance
376
374
General Comments 0
You need to be logged in to leave comments. Login now