Fix flake8 errors
This commit is contained in:
parent
c7a18a8b8d
commit
891a6bcf14
@ -158,7 +158,7 @@ class WebHistory(sql.SqlTable):
|
||||
self.completion.insert({'url': url_str,
|
||||
'title': title,
|
||||
'last_atime': atime},
|
||||
replace=True)
|
||||
replace=True)
|
||||
|
||||
def _parse_entry(self, line):
|
||||
"""Parse a history line like '12345 http://example.com title'."""
|
||||
|
@ -79,7 +79,7 @@ def test_insert_batch_replace(qtbot):
|
||||
table.insert_batch({'name': ['one', 'nine'],
|
||||
'val': [11, 19],
|
||||
'lucky': [True, True]},
|
||||
replace=True)
|
||||
replace=True)
|
||||
|
||||
assert list(table) == [('thirteen', 13, True),
|
||||
('one', 11, True),
|
||||
|
Loading…
Reference in New Issue
Block a user