Fix another bad package type assumption in depgraph.display().
authorZac Medico <zmedico@gentoo.org>
Sun, 8 Oct 2006 20:52:03 +0000 (20:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 8 Oct 2006 20:52:03 +0000 (20:52 -0000)
svn path=/main/trunk/; revision=4620

bin/emerge

index f927ae3bf39d573a3a6d2fcd7006a5fbd1a68713..c60cd35bb06cc6ade84cd43b68739d5d8558881a 100755 (executable)
@@ -1606,7 +1606,7 @@ class depgraph:
                                        print bad("(is blocking %s)") % block_parents
                        else:
                                mydbapi = self.trees[myroot][self.pkg_tree_map[pkg_type]].dbapi
-                               if x[3] != "nomerge" and \
+                               if "ebuild" == pkg_type and x[3] != "nomerge" and \
                                        "fetch" in portdb.aux_get(
                                        x[2], ["RESTRICT"])[0].split():
                                        fetch = red("F")