depgraph: remove obsolete gpg exception handlers
authorZac Medico <zmedico@gentoo.org>
Thu, 3 Feb 2011 04:30:37 +0000 (20:30 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 3 Feb 2011 05:08:16 +0000 (21:08 -0800)
pym/_emerge/depgraph.py

index de6ffccb7292b3b25114aabbe0298a49976a619f..1a22c1bc6243b95f1be0caa602ed5460d455e0ab 100644 (file)
@@ -1967,20 +1967,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: