From 3c7c36f0291f800b6a43a5c0d0a1af31309a4f3c 2013-04-24 04:47:48 From: MinRK Date: 2013-04-24 04:47:48 Subject: [PATCH] s/register_callback/add_callback/ --- diff --git a/IPython/frontend/qt/manager.py b/IPython/frontend/qt/manager.py index 4faac2b..e7b877b 100644 --- a/IPython/frontend/qt/manager.py +++ b/IPython/frontend/qt/manager.py @@ -40,7 +40,7 @@ class QtKernelManager(KernelManager, QtKernelManagerMixin): config=self.config, log=self.log, ) - self._restarter.register_callback(self._handle_kernel_restarted) + self._restarter.add_callback(self._handle_kernel_restarted) self._restarter.start() def stop_restarter(self):