From 6d9e5dc931bff543eebaf97bb063b7c7c24a0224 Mon Sep 17 00:00:00 2001 From: Christian Helbling Date: Fri, 7 Jul 2017 11:30:18 +0200 Subject: [PATCH] avoid too long lines --- qutebrowser/browser/commands.py | 7 ++++--- qutebrowser/mainwindow/mainwindow.py | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 9f7cef9d4..f0585bba0 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -2171,9 +2171,10 @@ class CommandDispatcher: window = self._tabbed_browser.window() if window.isFullScreen(): - window.setWindowState(window.state_before_fullscreen & ~Qt.WindowFullScreen) + window.setWindowState( + window.state_before_fullscreen & ~Qt.WindowFullScreen) else: window.state_before_fullscreen = window.windowState() window.showFullScreen() - log.misc.debug('state before fullscreen: {}' - .format(debug.qflags_key(Qt, window.state_before_fullscreen))) + log.misc.debug('state before fullscreen: {}'.format( + debug.qflags_key(Qt, window.state_before_fullscreen))) diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py index 88ffcf383..2f43ba58e 100644 --- a/qutebrowser/mainwindow/mainwindow.py +++ b/qutebrowser/mainwindow/mainwindow.py @@ -30,7 +30,8 @@ from PyQt5.QtWidgets import QWidget, QVBoxLayout, QApplication, QSizePolicy from qutebrowser.commands import runners, cmdutils from qutebrowser.config import config -from qutebrowser.utils import message, log, usertypes, qtutils, objreg, utils, debug +from qutebrowser.utils import (message, log, usertypes, qtutils, objreg, utils, + debug) from qutebrowser.mainwindow import tabbedbrowser, messageview, prompt from qutebrowser.mainwindow.statusbar import bar from qutebrowser.completion import completionwidget, completer