##// END OF EJS Templates
fix traitlets 4.2 API usage when creating parallel profiles...
Min RK -
Show More
@@ -223,12 +223,12 b' class ProfileCreate(BaseIPythonApplication):'
223 ).tag(config=True)
223 ).tag(config=True)
224
224
225 @observe('parallel')
225 @observe('parallel')
226 def _parallel_changed(self, name, old, new):
226 def _parallel_changed(self, change):
227 parallel_files = [ 'ipcontroller_config.py',
227 parallel_files = [ 'ipcontroller_config.py',
228 'ipengine_config.py',
228 'ipengine_config.py',
229 'ipcluster_config.py'
229 'ipcluster_config.py'
230 ]
230 ]
231 if new:
231 if change['new']:
232 for cf in parallel_files:
232 for cf in parallel_files:
233 self.config_files.append(cf)
233 self.config_files.append(cf)
234 else:
234 else:
General Comments 0
You need to be logged in to leave comments. Login now