summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-08 20:52:03 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-08 20:52:03 +0000
commit3bcdd8545ef1cf245353a3ef35be9ac38ccb0aa1 (patch)
tree87043979a3a237f84314f0621252ff30dfe95d00
parentd120da04d7ddbdc76d6bdd8f4c3720d71c87f870 (diff)
downloadportage-3bcdd8545ef1cf245353a3ef35be9ac38ccb0aa1.tar.gz
portage-3bcdd8545ef1cf245353a3ef35be9ac38ccb0aa1.tar.bz2
portage-3bcdd8545ef1cf245353a3ef35be9ac38ccb0aa1.zip
Fix another bad package type assumption in depgraph.display().
svn path=/main/trunk/; revision=4620
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index f927ae3bf..c60cd35bb 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -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")