Show More
@@ -1,3 +1,11 b'' | |||||
1 | # This can be used at any point in a config file to load a sub config |
|
1 | c = get_config() | |
2 | # and merge it into the current one. |
|
2 | ||
3 | load_subconfig('ipython_config.py', profile='default') |
|
3 | # If the master config file uses syntax that's invalid in Python 3, we'll skip | |
|
4 | # it and just use the factory defaults. | |||
|
5 | try: | |||
|
6 | load_subconfig('ipython_config.py', profile='default') | |||
|
7 | except Exception: | |||
|
8 | pass | |||
|
9 | else: | |||
|
10 | # We reset exec_lines in case they're not compatible with Python 3. | |||
|
11 | c.InteractiveShellApp.exec_lines = [] |
General Comments 0
You need to be logged in to leave comments.
Login now