Remove workaround for old pylint issue
This commit is contained in:
parent
35b56f2659
commit
b6f311f4b2
@ -105,8 +105,7 @@ def raise_window(window, alert=True):
|
||||
QApplication.instance().alert(window)
|
||||
|
||||
|
||||
# WORKAROUND for https://github.com/PyCQA/pylint/issues/1770
|
||||
def get_target_window(): # pylint: disable=inconsistent-return-statements
|
||||
def get_target_window():
|
||||
"""Get the target window for new tabs, or None if none exist."""
|
||||
try:
|
||||
win_mode = config.val.new_instance_open_target_window
|
||||
|
Loading…
Reference in New Issue
Block a user