summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-09 09:06:36 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-09 09:06:36 +0000
commita557ecd1b9d964f4b3fcd3a0fa107e41f2a77f1c (patch)
tree300f82202a3c19d06e50df2c15e53f764ce3080a
parentda12cde0d48f59ef55562fe9ee80819868ead1ec (diff)
downloadportage-a557ecd1b9d964f4b3fcd3a0fa107e41f2a77f1c.tar.gz
portage-a557ecd1b9d964f4b3fcd3a0fa107e41f2a77f1c.tar.bz2
portage-a557ecd1b9d964f4b3fcd3a0fa107e41f2a77f1c.zip
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.v2.1_rc4v2.1_rc3v2.1
svn path=/main/trunk/; revision=3476
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
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