Add missing break statement for xmatch minimum-visible.
authorZac Medico <zmedico@gentoo.org>
Fri, 26 Oct 2007 16:34:51 +0000 (16:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 26 Oct 2007 16:34:51 +0000 (16:34 -0000)
svn path=/main/trunk/; revision=8310

pym/portage/dbapi/porttree.py

index 92129381894a9e8ac31deeea0cb3c796691c7f96..f0cc49ac27c0ed227c37570cebbfa5a15e6b8ce2 100644 (file)
@@ -625,6 +625,7 @@ class portdbapi(dbapi):
                                if settings.getProfileMaskAtom(cpv, metadata):
                                        continue
                                myval = cpv
+                               break
                elif level == "bestmatch-list":
                        #dep match -- find best match but restrict search to sublist
                        #no point in calling xmatch again since we're not caching list deps