Fix depgraph function to print out dependencies that don't resolve to a package ...
authorfuzzyray <fuzzyray@gentoo.org>
Wed, 3 Sep 2008 20:13:55 +0000 (20:13 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Wed, 3 Sep 2008 20:13:55 +0000 (20:13 -0000)
svn path=/; revision=512

trunk/ChangeLog
trunk/src/equery/equery

index b100110abb56647ee4f0da89413e6629ede34337..aa1c6e8c2e01b4e4b954d0daaa06214e73e94318 100644 (file)
@@ -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
index 63eb8b3e769f0603081913d5b996dbf999532da5..9e319e9fda428ccc8536471bb3a281d6035d1ae0 100755 (executable)
@@ -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