From 271d00417c0fc662e30e4323e67325376dc009aa Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 26 May 2014 20:09:46 +0200 Subject: [PATCH] Avoid newlines in log --- qutebrowser/widgets/webview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/widgets/webview.py b/qutebrowser/widgets/webview.py index ab26bd5af..0cc3da690 100644 --- a/qutebrowser/widgets/webview.py +++ b/qutebrowser/widgets/webview.py @@ -164,9 +164,9 @@ class WebView(QWebView): sender: The object which called the callback. """ self._destroyed[sender] = True - dbgout = '\n'.join(['{}: {}'.format(k.__class__.__name__, v) - for (k, v) in self._destroyed.items()]) - log.destroy.debug("{} has been destroyed, new status:\n{}".format( + dbgout = ' / '.join(['{}: {}'.format(k.__class__.__name__, v) + for (k, v) in self._destroyed.items()]) + log.destroy.debug("{} has been destroyed, new status: {}".format( sender.__class__.__name__, dbgout)) if all(self._destroyed.values()): if self._shutdown_callback is not None: