From 9333e92891a0ff3030bf991596a0a144a88553bf Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 24 Nov 2014 06:55:54 +0100 Subject: [PATCH] Remove download assertions. --- qutebrowser/browser/downloads.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/qutebrowser/browser/downloads.py b/qutebrowser/browser/downloads.py index 2802baf5b..641621bd2 100644 --- a/qutebrowser/browser/downloads.py +++ b/qutebrowser/browser/downloads.py @@ -623,10 +623,8 @@ class DownloadManager(QAbstractListModel): data = item elif role == Qt.ToolTipRole: if item.error_msg is None: - assert item.successful data = QVariant() else: - assert not item.successful return item.error_msg else: data = QVariant()