From 1e8170d98b59cb89a6ce29143dbe84aa3c7a54bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=BCrmann?= Date: Tue, 6 Oct 2015 23:18:04 +0200 Subject: [PATCH] Fixed lines which were too long --- qutebrowser/app.py | 6 +++--- qutebrowser/mainwindow/mainwindow.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 44d3caaf7..abdba799e 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -244,9 +244,9 @@ def process_pos_args(args, via_ipc=False, cwd=None, target_arg=None): will be an empty string instead of None. This behavior is caused by the PyQt signal ``got_args = pyqtSignal(list, str, str)`` - used in the misc.ipc.IPCServer class. PyQt converts the None - value into a null QString and then back to an empty python - string + used in the misc.ipc.IPCServer class. PyQt converts the + None value into a null QString and then back to an empty + python string """ if via_ipc and not args: win_id = mainwindow.get_window(via_ipc, force_window=True) diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py index 257d6e211..ac602194a 100644 --- a/qutebrowser/mainwindow/mainwindow.py +++ b/qutebrowser/mainwindow/mainwindow.py @@ -41,7 +41,8 @@ from qutebrowser.misc import crashsignal win_id_gen = itertools.count(0) -def get_window(via_ipc, force_window=False, force_tab=False, force_target=None): +def get_window(via_ipc, force_window=False, force_tab=False, + force_target=None): """Helper function for app.py to get a window id. Args: