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.
|
|<<fullscreen,fullscreen>>|Toggle fullscreen mode.
|
||||||
|<<help,help>>|Show help about a command or setting.
|
|<<help,help>>|Show help about a command or setting.
|
||||||
|<<hint,hint>>|Start hinting.
|
|<<hint,hint>>|Start hinting.
|
||||||
|<<history,history>>|Show browsing history
|
|<<history,history>>|Show browsing history.
|
||||||
|<<history-clear,history-clear>>|Clear all browsing history.
|
|<<history-clear,history-clear>>|Clear all browsing history.
|
||||||
|<<home,home>>|Open main startpage in current tab.
|
|<<home,home>>|Open main startpage in current tab.
|
||||||
|<<insert-text,insert-text>>|Insert text at cursor position.
|
|<<insert-text,insert-text>>|Insert text at cursor position.
|
||||||
@ -423,7 +423,7 @@ Start hinting.
|
|||||||
=== history
|
=== history
|
||||||
Syntax: +:history [*--tab*] [*--bg*] [*--window*]+
|
Syntax: +:history [*--tab*] [*--bg*] [*--window*]+
|
||||||
|
|
||||||
Show browsing history
|
Show browsing history.
|
||||||
|
|
||||||
==== optional arguments
|
==== optional arguments
|
||||||
* +*-t*+, +*--tab*+: Open in a new tab.
|
* +*-t*+, +*--tab*+: Open in a new tab.
|
||||||
|
@ -181,7 +181,7 @@ def qute_history(url):
|
|||||||
prev_date = curr_date - one_day
|
prev_date = curr_date - one_day
|
||||||
|
|
||||||
def history_iter(reverse):
|
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())
|
curr_timestamp = time.mktime(curr_date.timetuple())
|
||||||
history = objreg.get('web-history').history_dict.values()
|
history = objreg.get('web-history').history_dict.values()
|
||||||
if reverse:
|
if reverse:
|
||||||
|
@ -658,7 +658,7 @@ class WebEngineTab(browsertab.AbstractTab):
|
|||||||
self.load_started])
|
self.load_started])
|
||||||
if answer is None:
|
if answer is None:
|
||||||
try:
|
try:
|
||||||
# pylint: disable=no-member
|
# pylint: disable=no-member, useless-suppression
|
||||||
sip.assign(authenticator, QAuthenticator())
|
sip.assign(authenticator, QAuthenticator())
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
# WORKAROUND for
|
# WORKAROUND for
|
||||||
|
Loading…
Reference in New Issue
Block a user