From 11a87e992174d5da103538ac62996066f8ed23cf Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 20 Jan 2007 13:37:13 +0000 Subject: [PATCH] Don't want about versions < 1.4.6 because Ubuntu fixed it without updating the MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit version number (reported by Offray Vladimir Luna Cárdenas). git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@1439 9f8c893c-44ee-0310-b757-c8ca8341c71e --- zeroinstall/0launch-gui/mainwindow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zeroinstall/0launch-gui/mainwindow.py b/zeroinstall/0launch-gui/mainwindow.py index b2cad1f..7eee6d2 100644 --- a/zeroinstall/0launch-gui/mainwindow.py +++ b/zeroinstall/0launch-gui/mainwindow.py @@ -104,7 +104,9 @@ class MainWindow(Dialog): except Exception, ex: warn("Failed to get GPG version: %s", ex) else: - if gpg_version < [1, 4, 6]: + if gpg_version < [1, 4, 2, 2]: + # Don't want about versions < 1.4.6 because Ubuntu fixed it without + # updating the version number. warning_label = gtk.Label("Warning: Your version of gnupg (%s) contains a signature\n" "checking vulnerability. Suggest upgrading to 1.4.6 or later." % '.'.join(map(str, gpg_version))) vbox.pack_start(warning_label, False, True, 0) -- 2.11.4.GIT