(self, fname, path=None, profile=None)
| 112 | class ProfileAwareConfigLoader(PyFileConfigLoader): |
| 113 | """A Python file config loader that is aware of IPython profiles.""" |
| 114 | def load_subconfig(self, fname, path=None, profile=None): |
| 115 | if profile is not None: |
| 116 | try: |
| 117 | profile_dir = ProfileDir.find_profile_dir_by_name( |
| 118 | get_ipython_dir(), |
| 119 | profile, |
| 120 | ) |
| 121 | except ProfileDirError: |
| 122 | return |
| 123 | path = profile_dir.location |
| 124 | return super(ProfileAwareConfigLoader, self).load_subconfig(fname, path=path) |
| 125 | |
| 126 | class BaseIPythonApplication(Application): |
| 127 | name = "ipython" |
nothing calls this directly
no test coverage detected