Call use_reduce() with matchall=1 when checking depstrings. Otherwise it's
authorZac Medico <zmedico@gentoo.org>
Thu, 26 Jun 2008 21:36:17 +0000 (21:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 Jun 2008 21:36:17 +0000 (21:36 -0000)
possible for invalid deps to be ignored. Thanks to grobian for reporting.

svn path=/main/trunk/; revision=10807

bin/repoman

index e654495813c597ba201c186752b29e5a8d7f8753..51c2ae2d7ac6c709f799a441007abbb06f9722e8 100755 (executable)
@@ -1249,7 +1249,7 @@ for x in scanlist:
                                mydeplist = []
 
                        try:
-                               portage.dep.use_reduce(mydeplist, excludeall=myiuse)
+                               portage.dep.use_reduce(mydeplist, matchall=1)
                        except portage.exception.InvalidDependString, e:
                                badsyntax.append(str(e))