From 43b563f6000af51b48f6fda7c6249f34aea28db6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 11 Sep 2016 21:27:16 +0200 Subject: [PATCH] Add missing docstring --- qutebrowser/browser/webkit/downloads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/browser/webkit/downloads.py b/qutebrowser/browser/webkit/downloads.py index d151da7a7..61b5128a3 100644 --- a/qutebrowser/browser/webkit/downloads.py +++ b/qutebrowser/browser/webkit/downloads.py @@ -766,6 +766,7 @@ class DownloadItem(QObject): return True def uses_nam(self, nam): + """Check if this download uses the given QNetworkAccessManager.""" running_nam = self._reply is not None and self._reply.manager() is nam # user could request retry after tab is closed. retry_nam = (self.done and (not self.successful) and