Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Feb 11, 2017
1 parent bd8ead2 commit b73cda2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/help/commands.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion qutebrowser/browser/qutescheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion qutebrowser/browser/webengine/webenginetab.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def _on_authentication_required(self, url, authenticator):
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
Expand Down

0 comments on commit b73cda2

Please sign in to comment.