Fix lint.

This commit is contained in:
Florian Bruhin 2016-02-03 08:16:59 +01:00
parent 2ba2b38277
commit 921e8b50b7
2 changed files with 3 additions and 4 deletions

View File

@ -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))

View File

@ -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):