##// END OF EJS Templates
Fix, config_file_name was ignored
Jonathan Frederic -
Show More
@@ -87,7 +87,7 b' class BaseIPythonApplication(Application):'
87 # because some logic happens only if we aren't using the default.
87 # because some logic happens only if we aren't using the default.
88 config_file_specified = Set()
88 config_file_specified = Set()
89
89
90 config_file_name = Unicode(u'ipython_config.py')
90 config_file_name = Unicode()
91 def _config_file_name_default(self):
91 def _config_file_name_default(self):
92 return self.name.replace('-','_') + u'_config.py'
92 return self.name.replace('-','_') + u'_config.py'
93 def _config_file_name_changed(self, name, old, new):
93 def _config_file_name_changed(self, name, old, new):
@@ -141,7 +141,7 b' class BaseIPythonApplication(Application):'
141
141
142 config_files = List(Unicode)
142 config_files = List(Unicode)
143 def _config_files_default(self):
143 def _config_files_default(self):
144 return [u'ipython_config.py']
144 return [self.config_file_name]
145
145
146 copy_config_files = Bool(False, config=True,
146 copy_config_files = Bool(False, config=True,
147 help="""Whether to install the default config files into the profile dir.
147 help="""Whether to install the default config files into the profile dir.
General Comments 0
You need to be logged in to leave comments. Login now