From 5ca8f77fca379da12b85b27b215b6ecb59442a80 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 3 Aug 2016 18:16:28 +0200 Subject: [PATCH] lint fixes --- qutebrowser/browser/webkit/downloads.py | 1 - qutebrowser/utils/usertypes.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qutebrowser/browser/webkit/downloads.py b/qutebrowser/browser/webkit/downloads.py index 9a1f40d55..7413d02f4 100644 --- a/qutebrowser/browser/webkit/downloads.py +++ b/qutebrowser/browser/webkit/downloads.py @@ -995,7 +995,6 @@ class DownloadManager(QAbstractListModel): return download.open_file(cmdline) - def raise_no_download(self, count): """Raise an exception that the download doesn't exist. diff --git a/qutebrowser/utils/usertypes.py b/qutebrowser/utils/usertypes.py index 1ed87af8e..bd4930094 100644 --- a/qutebrowser/utils/usertypes.py +++ b/qutebrowser/utils/usertypes.py @@ -300,7 +300,7 @@ class OpenFileDownloadTarget(DownloadTarget): """Save the download in a temp dir and directly open it. Attributes: - cmdline: The command to use as string. A {} is expanded to th + cmdline: The command to use as string. A {} is expanded to the filename. None means use the system's default. """