[yum-git] output.py
James Antill
james at linux.duke.edu
Mon Feb 4 16:55:30 UTC 2008
output.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit d5d941ead7b8328469916bb0271d68b894b6cc04
Author: James Antill <james at and.org>
Date: Mon Feb 4 11:55:26 2008 -0500
Only show URL if it has one, Ie. glibc
diff --git a/output.py b/output.py
index b5055a1..c575fec 100644
--- a/output.py
+++ b/output.py
@@ -281,7 +281,8 @@ class YumOutput:
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
+ if pkg.url:
+ print _("URL : %s") % pkg.url
print _("License : %s") % pkg.license
print self._outKeyValFill(_("Description: "), enc(pkg.description))
print ""
More information about the Yum-cvs-commits
mailing list