I meant to ignore an IndexError here, in case mysettings["PORTDIR_OVERLAY"] becomes... v2.1 v2.1_rc3 v2.1_rc4
authorZac Medico <zmedico@gentoo.org>
Fri, 9 Jun 2006 09:06:36 +0000 (09:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 9 Jun 2006 09:06:36 +0000 (09:06 -0000)
svn path=/main/trunk/; revision=3476

pym/portage.py

index d520188fe6e3e13fc7ce0053435b57e649bcaf85..e51f2ee157020ab8c246ae723bd626e3a127b090 100644 (file)
@@ -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