pylint adjustments

This commit is contained in:
seebye 2017-12-20 01:15:12 +01:00
parent c8ae405bfe
commit 801b6b90ce

View File

@ -173,7 +173,7 @@ class WebHistory(sql.SqlTable):
"""Add a new history entry as slot, called from a BrowserTab.""" """Add a new history entry as slot, called from a BrowserTab."""
if any(url.scheme() == 'data' or if any(url.scheme() == 'data' or
('qute', 'back') == (url.scheme(), url.host()) ('qute', 'back') == (url.scheme(), url.host())
for url in (url, requested_url)): for url in (url, requested_url)):
return return
if url.isEmpty(): if url.isEmpty():
# things set via setHtml # things set via setHtml