Skip to content

Commit 683683a

Browse files
author
Joe Dinius
committed
Apply leading dashes to export command output
Closes dirk-thomas#273 Applying this change to the export subcommand will allow its output to pass pre-commit checks for yaml validation.
1 parent daf3893 commit 683683a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: vcstool/commands/export.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def output_export_data(result, hide_empty=False):
4646
return
4747

4848
try:
49-
lines = []
49+
lines = ["---"]
5050
lines.append(' %s:' % result['path'])
5151
lines.append(' type: ' + result['client'].__class__.type)
5252
export_data = result['export_data']

0 commit comments

Comments
 (0)