From ed036336e176d14a8e2a94044459bd7d2d7a055f 2016-07-06 11:15:14 From: Thomas Kluyver Date: 2016-07-06 11:15:14 Subject: [PATCH] Merge pull request #9707 from minrk/parallel-observe fix traitlets 4.2 API usage when creating parallel profiles --- diff --git a/IPython/core/profileapp.py b/IPython/core/profileapp.py index 37f47ee..b8e5fd2 100644 --- a/IPython/core/profileapp.py +++ b/IPython/core/profileapp.py @@ -223,12 +223,12 @@ class ProfileCreate(BaseIPythonApplication): ).tag(config=True) @observe('parallel') - def _parallel_changed(self, name, old, new): + def _parallel_changed(self, change): parallel_files = [ 'ipcontroller_config.py', 'ipengine_config.py', 'ipcluster_config.py' ] - if new: + if change['new']: for cf in parallel_files: self.config_files.append(cf) else: