[yum-git] output.py

James Antill james at linux.duke.edu
Tue Jan 29 14:34:59 UTC 2008


 output.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 35220e3cf70b197fb1cc7ccd1023a110ed6cc4c6
Author: James Antill <james at and.org>
Date:   Tue Jan 29 09:34:56 2008 -0500

    Only output committer when in verbose mode, as it requires other MD

diff --git a/output.py b/output.py
index e871dae..b5055a1 100644
--- a/output.py
+++ b/output.py
@@ -278,7 +278,8 @@ class YumOutput:
         print _("Release    : %s") % pkg.release
         print _("Size       : %s") % self.format_number(float(pkg.size))
         print _("Repo       : %s") % pkg.repoid
-        print _("Committer  : %s") % pkg.committer
+        if self.verbose_logger.isEnabledFor(logginglevels.DEBUG_3):
+            print _("Committer  : %s") % pkg.committer
         print self._outKeyValFill(_("Summary    : "), enc(pkg.summary))
         print _("URL        : %s") % pkg.url
         print _("License    : %s") % pkg.license



More information about the Yum-cvs-commits mailing list