From 8e52e5f2fc8db32b4357e84fb5e7f768230baf30 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 1 Oct 2015 21:39:42 +0200 Subject: [PATCH] Don't use deprecated logging calls. --- qutebrowser/misc/ipc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/misc/ipc.py b/qutebrowser/misc/ipc.py index 3447d27ea..6c4eff848 100644 --- a/qutebrowser/misc/ipc.py +++ b/qutebrowser/misc/ipc.py @@ -226,7 +226,7 @@ class IPCServer(QObject): # This happens a lot on Windows, so we ignore it there. log.ipc.debug(msg) else: - log.ipc.warn(msg) + log.ipc.warning(msg) return self._timer.stop() log.ipc.debug("Socket error {}: {}".format( @@ -270,7 +270,7 @@ class IPCServer(QObject): log.ipc.debug("Client disconnected.") self._timer.stop() if self._socket is None: - log.ipc.warn("In on_disconnected with None socket!") + log.ipc.warning("In on_disconnected with None socket!") else: self._socket.deleteLater() self._socket = None @@ -290,7 +290,7 @@ class IPCServer(QObject): if self._socket is None: # This happens when doing a connection while another one is already # active for some reason. - log.ipc.warn("In on_ready_read with None socket!") + log.ipc.warning("In on_ready_read with None socket!") return self._timer.start() while self._socket is not None and self._socket.canReadLine():