From ef3b5b63d7f60883afd60dbeb8c0abc71d034e7e Mon Sep 17 00:00:00 2001
From: fuzzyray <fuzzyray@gentoo.org>
Date: Wed, 3 Sep 2008 20:13:55 +0000
Subject: [PATCH] Fix depgraph function to print out dependencies that don't
 resolve to a package (Bug #236492)

svn path=/; revision=512
---
 trunk/ChangeLog         | 4 ++++
 trunk/src/equery/equery | 1 +
 2 files changed, 5 insertions(+)

diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index b100110..aa1c6e8 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-03: Paul Varner <fuzzyray@gentoo.org>
+	* equery: Fix depgraph function to print out dependencies that don't
+	resolve to a package (Bug #236492)
+
 2008-08-26: Paul Varner <fuzzyray@gentoo.org>
 	* glsa-check: Fix has_key() deprecation message. (Bug #232797)
 	* revdep-rebuild: Update fix for Bug 232270 to utilize better patch
diff --git a/trunk/src/equery/equery b/trunk/src/equery/equery
index 63eb8b3..9e319e9 100755
--- a/trunk/src/equery/equery
+++ b/trunk/src/equery/equery
@@ -738,6 +738,7 @@ class CmdDisplayDepGraph(Command):
 			cpv = x[2]
 			pkg = gentoolkit.find_best_match(x[0] + cpv)
 			if not pkg:
+				print pfx + x[0] + cpv + " (unable to resolve to a package / package masked or removed)"
 				continue
 			if pkg.get_cpv() in pkgtbl:
 				continue
-- 
2.26.2