From d8a42a8d35f4b8f38cb83a45b7dc71646be9e752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Mon, 4 Apr 2011 22:35:01 +0000 Subject: [PATCH] cli/info: Format the info output of source packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Anıl Özbek for his patch. BUG:FIXED:17595 --- pisi/cli/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/cli/info.py b/pisi/cli/info.py index d3e1b170..f0f8b306 100644 --- a/pisi/cli/info.py +++ b/pisi/cli/info.py @@ -134,7 +134,7 @@ Usage: info ... if ctx.get_option('short'): ctx.ui.formatted_output(" - ".join((src.name, unicode(src.summary)))) else: - ctx.ui.info(unicode(spec)) + ctx.ui.formatted_output(unicode(spec)) if sourcedb: revdeps = [name for name, dep in sourcedb.get_rev_deps(spec.source.name)] print _('Reverse Build Dependencies:'), util.strlist(revdeps)