From a557ecd1b9d964f4b3fcd3a0fa107e41f2a77f1c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 9 Jun 2006 09:06:36 +0000 Subject: [PATCH] I meant to ignore an IndexError here, in case mysettings["PORTDIR_OVERLAY"] becomes corrupted and the split has an unexpected number of elements for some reason. svn path=/main/trunk/; revision=3476 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index d520188fe..e51f2ee15 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -3054,7 +3054,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, try: writemsg("!!! This ebuild is from an overlay: '%s'\n" % \ overlays[i], noiselevel=-1) - except KeyError: + except IndexError: pass break -- 2.26.2