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