From 5b3cabe4c07dca5f595c2c79a875bd6ffc742fff 2015-02-28 19:40:15 From: Thomas Kluyver Date: 2015-02-28 19:40:15 Subject: [PATCH] Merge pull request #7904 from minrk/adapt-not-error make it clearer that we adapt to old messages --- diff --git a/IPython/html/services/kernels/handlers.py b/IPython/html/services/kernels/handlers.py index 308a5a9..b21b3cc 100644 --- a/IPython/html/services/kernels/handlers.py +++ b/IPython/html/services/kernels/handlers.py @@ -160,7 +160,7 @@ class ZMQChannelsHandler(AuthenticatedZMQStreamHandler): protocol_version = info.get('protocol_version', kernel_protocol_version) if protocol_version != kernel_protocol_version: self.session.adapt_version = int(protocol_version.split('.')[0]) - self.log.info("Kernel %s speaks protocol %s", self.kernel_id, protocol_version) + self.log.info("Adapting to protocol v%s for kernel %s", protocol_version, self.kernel_id) if not self._kernel_info_future.done(): self._kernel_info_future.set_result(info)