summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-02-02 20:30:37 -0800
committerZac Medico <zmedico@gentoo.org>2011-02-02 21:08:16 -0800
commit0ff0093da83b5be06b8c810efac8633499f23ceb (patch)
tree16d6b4a18eaa22309318394c211324bf966def83
parent1798bfe98c4408223c8cee3148170d817a9c354c (diff)
downloadportage-0ff0093da83b5be06b8c810efac8633499f23ceb.tar.gz
portage-0ff0093da83b5be06b8c810efac8633499f23ceb.tar.bz2
portage-0ff0093da83b5be06b8c810efac8633499f23ceb.zip
depgraph: remove obsolete gpg exception handlers
-rw-r--r--pym/_emerge/depgraph.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index de6ffccb7..1a22c1bc6 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -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: