Fix lint
This commit is contained in:
parent
bd8ead2279
commit
b73cda22de
@ -44,7 +44,7 @@ It is possible to run or bind multiple commands by separating them with `;;`.
|
||||
|<<fullscreen,fullscreen>>|Toggle fullscreen mode.
|
||||
|<<help,help>>|Show help about a command or setting.
|
||||
|<<hint,hint>>|Start hinting.
|
||||
|<<history,history>>|Show browsing history
|
||||
|<<history,history>>|Show browsing history.
|
||||
|<<history-clear,history-clear>>|Clear all browsing history.
|
||||
|<<home,home>>|Open main startpage in current tab.
|
||||
|<<insert-text,insert-text>>|Insert text at cursor position.
|
||||
@ -423,7 +423,7 @@ Start hinting.
|
||||
=== history
|
||||
Syntax: +:history [*--tab*] [*--bg*] [*--window*]+
|
||||
|
||||
Show browsing history
|
||||
Show browsing history.
|
||||
|
||||
==== optional arguments
|
||||
* +*-t*+, +*--tab*+: Open in a new tab.
|
||||
|
@ -181,7 +181,7 @@ def qute_history(url):
|
||||
prev_date = curr_date - one_day
|
||||
|
||||
def history_iter(reverse):
|
||||
"""Iterate through the history and get the items we're interested in."""
|
||||
"""Iterate through the history and get items we're interested in."""
|
||||
curr_timestamp = time.mktime(curr_date.timetuple())
|
||||
history = objreg.get('web-history').history_dict.values()
|
||||
if reverse:
|
||||
|
@ -658,7 +658,7 @@ class WebEngineTab(browsertab.AbstractTab):
|
||||
self.load_started])
|
||||
if answer is None:
|
||||
try:
|
||||
# pylint: disable=no-member
|
||||
# pylint: disable=no-member, useless-suppression
|
||||
sip.assign(authenticator, QAuthenticator())
|
||||
except AttributeError:
|
||||
# WORKAROUND for
|
||||
|
Loading…
Reference in New Issue
Block a user