summaryrefslogtreecommitdiff
path: root/qutebrowser/mainwindow/prompt.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-13 22:01:01 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-13 22:01:01 +0200
commit1e35f7ca5101a2b2be42c9375b28ae8c9a40e14e (patch)
tree43743bffc52bb2ec487621bdfd77006d9ff477c2 /qutebrowser/mainwindow/prompt.py
parentc8766b3b02556c76984ea2a062989e6589bfd5ec (diff)
downloadqutebrowser-1e35f7ca5101a2b2be42c9375b28ae8c9a40e14e.tar.gz
qutebrowser-1e35f7ca5101a2b2be42c9375b28ae8c9a40e14e.zip
mypy: Remove ignores which are now unneeded
Diffstat (limited to 'qutebrowser/mainwindow/prompt.py')
-rw-r--r--qutebrowser/mainwindow/prompt.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/qutebrowser/mainwindow/prompt.py b/qutebrowser/mainwindow/prompt.py
index a0a0ca47a..a929d6428 100644
--- a/qutebrowser/mainwindow/prompt.py
+++ b/qutebrowser/mainwindow/prompt.py
@@ -192,8 +192,7 @@ class PromptQueue(QObject):
if blocking:
loop = qtutils.EventLoop()
self._loops.append(loop)
- loop.destroyed.connect( # type: ignore[attr-defined]
- lambda: self._loops.remove(loop))
+ loop.destroyed.connect(lambda: self._loops.remove(loop))
question.completed.connect(loop.quit)
question.completed.connect(loop.deleteLater)
log.prompt.debug("Starting loop.exec_() for {}".format(question))