Pass use list rather than config obj to portdbapi.fetch_check()
authorJason Stubbs <jstubbs@gentoo.org>
Sun, 2 Oct 2005 14:30:49 +0000 (14:30 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Sun, 2 Oct 2005 14:30:49 +0000 (14:30 -0000)
svn path=/main/branches/2.0/; revision=2074

bin/emerge

index daa6c8351390e11bf65d5a6b108469bb88eeae93..867799117a2fadc542bf6e83aeb78e29e6bfe647 100755 (executable)
@@ -1489,7 +1489,7 @@ class depgraph:
                        else:
                                if (x[0]!="binary") and ("fetch" in string.split(portage.portdb.aux_get(x[2],["RESTRICT"])[0])):
                                        fetch = red("F")
-                                       if portage.portdb.fetch_check(x[2], portage.settings):
+                                       if portage.portdb.fetch_check(x[2], portage.settings["USE"]):
                                                fetch = green("f")
 
                                #we need to use "--emptrytree" testing here rather than "empty" param testing because "empty"