From 4afc148a5729de7a967e8c3a331587a36b549b2d Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Fri, 25 Feb 2005 20:55:05 +0000 Subject: [PATCH] Minor refactoring for GUI. git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/injector/head/injector-gui/head@67 9f8c893c-44ee-0310-b757-c8ca8341c71e --- gui.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gui.py b/gui.py index 97a9b95..b832235 100644 --- a/gui.py +++ b/gui.py @@ -1,4 +1,3 @@ -from gpg import BadSignature from policy import Policy import download import gtk, os @@ -47,10 +46,6 @@ class GUIPolicy(Policy): dialog.alert(self.window, "Syntax error in downloaded interface '%s':\n\n%s" % (dl.interface.uri, ex)) - except BadSignature, ex: - dialog.alert(self.window, - "Security error verifying downloaded interface '%s':\n\n%s" % - (dl.interface.uri, ex)) return False dl.error_stream_data(got) return True -- 2.11.4.GIT