summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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