From 2f944dceba509832f3cc070e8c74b8a4e3ba3474 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 2 Feb 2011 20:30:37 -0800 Subject: depgraph: remove obsolete gpg exception handlers --- pym/_emerge/depgraph.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'pym') diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index d0ceb3384..27a854b7c 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1952,20 +1952,6 @@ class depgraph(object): (atom,), noiselevel=-1) return 0, myfavorites - except portage.exception.MissingSignature as e: - portage.writemsg("\n\n!!! A missing gpg signature is preventing portage from calculating the\n") - portage.writemsg("!!! required dependencies. This is a security feature enabled by the admin\n") - portage.writemsg("!!! to aid in the detection of malicious intent.\n\n") - portage.writemsg("!!! THIS IS A POSSIBLE INDICATION OF TAMPERED FILES -- CHECK CAREFULLY.\n") - portage.writemsg("!!! Affected file: %s\n" % (e), noiselevel=-1) - return 0, myfavorites - except portage.exception.InvalidSignature as e: - portage.writemsg("\n\n!!! An invalid gpg signature is preventing portage from calculating the\n") - portage.writemsg("!!! required dependencies. This is a security feature enabled by the admin\n") - portage.writemsg("!!! to aid in the detection of malicious intent.\n\n") - portage.writemsg("!!! THIS IS A POSSIBLE INDICATION OF TAMPERED FILES -- CHECK CAREFULLY.\n") - portage.writemsg("!!! Affected file: %s\n" % (e), noiselevel=-1) - return 0, myfavorites except SystemExit as e: raise # Needed else can't exit except Exception as e: -- cgit v1.2.3-1-g7c22