Fix search command output

This commit is contained in:
Valeriy Koval committed 2015-04-20 19:58:39 +03:00
1 parent 4cde47af75
commit 9c318c1d34
1 file changed
+1 -1
+1 -1
View File
@@ -40,7 +40,7 @@ def cli(query, json_output):
for item in data:
click.secho(item['type'], fg="cyan", nl=False)
click.echo(" (available packages: %s)" % ", ".join(
p.get_packages().keys()))
item.get("packages").keys()))
click.secho("-" * len(item['type']), fg="cyan")
click.echo(item['description'])
click.echo()