Fixed lines which were too long

This commit is contained in:
Jonas Schürmann 2015-10-06 23:18:04 +02:00
parent afc166a13e
commit 1e8170d98b
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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: