Skip to content

Commit f53d937

Browse files
committed
made small change
1 parent d2680ee commit f53d937

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/deltacode/cli.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,13 @@ def write_json(deltacode, outfile, all_delta_types=False):
5353
])
5454
click.secho(get_notice(),fg="green")
5555
click.echo('deltas_count: {}'.format(len([d for d in deltas(deltacode, all_delta_types)])))
56-
click.echo('delta_stats: {')
56+
click.echo('delta_stats: ')
5757
for stat in deltacode.stats.to_dict():
58-
click.echo(""" "{}": {}""".format(str(stat),deltacode.stats.to_dict()[stat]))
59-
click.echo("}")
58+
click.echo(""" "{}": {}""".format(str(stat),deltacode.stats.to_dict()[stat]))
6059
# TODO: add toggle for pretty printing
6160
simplejson.dump(results, outfile, iterable_as_array=True, indent=2)
6261
outfile.write('\n')
6362

64-
6563
def print_version(ctx, param, value):
6664
if not value or ctx.resilient_parsing:
6765
return

0 commit comments

Comments
 (0)