Fix lint.
This commit is contained in:
parent
2ba2b38277
commit
921e8b50b7
@ -217,7 +217,6 @@ def fill_clipboard(qtbot, qapp, httpbin, what, content):
|
||||
_wait_for_clipboard(qtbot, qapp.clipboard(), mode, content)
|
||||
|
||||
|
||||
|
||||
@bdd.when(bdd.parsers.re(r'I put the following lines into the '
|
||||
r'(?P<what>primary selection|clipboard):\n'
|
||||
r'(?P<content>.+)$', flags=re.DOTALL))
|
||||
|
@ -240,9 +240,9 @@ class QuteProc(testprocess.Process):
|
||||
# Try to complain about the most common mistake when accidentally
|
||||
# loading external resources. A fuzzy_url line gets logged when
|
||||
# initializing settings though, so ignore those.
|
||||
is_ddg_page = ('duckduckgo' in msg.message and not
|
||||
(msg.module == 'urlutils' and
|
||||
msg.function == 'fuzzy_url'))
|
||||
is_ddg_page = (
|
||||
'duckduckgo' in msg.message and not (msg.module == 'urlutils' and
|
||||
msg.function == 'fuzzy_url'))
|
||||
return msg.loglevel > logging.INFO or is_js_error or is_ddg_page
|
||||
|
||||
def _maybe_skip(self):
|
||||
|
Loading…
Reference in New Issue
Block a user