[yum-commits] plugins/changelog

James Antill james at osuosl.org
Sun Mar 1 21:08:20 UTC 2009


 plugins/changelog/changelog.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5102afb76c39e3ec7a30de3d52e494a4264622ef
Author: James Antill <james at and.org>
Date:   Sun Mar 1 16:03:01 2009 -0500

    Don't output anything when depsolving failed

diff --git a/plugins/changelog/changelog.py b/plugins/changelog/changelog.py
index c2018ee..7c69df8 100644
--- a/plugins/changelog/changelog.py
+++ b/plugins/changelog/changelog.py
@@ -235,7 +235,7 @@ def _setup_changelog_from_cmdline(conduit):
 def postresolve_hook(conduit):
     _setup_changelog_from_cmdline(conduit)
 
-    if not changelog: 
+    if not changelog or conduit.resultcode == 1:
         return
 
     # Find currently installed versions of packages we're about to update


More information about the Yum-commits mailing list