match_from_list: use unevaluated_atom for IUSE
authorZac Medico <zmedico@gentoo.org>
Tue, 30 Nov 2010 06:06:35 +0000 (22:06 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 4 Dec 2010 06:20:17 +0000 (22:20 -0800)
pym/portage/dep/__init__.py

index d0e5db8374d5be096037a1cd9f118de7edf07cd7..baf0fc3fce542ed5ef411fe65844909453812ec2 100644 (file)
@@ -1925,7 +1925,7 @@ def match_from_list(mydep, candidate_list):
                                continue
                        mylist.append(x)
 
-       if mydep.use:
+       if mydep.unevaluated_atom.use:
                candidate_list = mylist
                mylist = []
                for x in candidate_list: