Skip to content

Commit

Permalink
Merge pull request #25690 from alprs/fix-highstate_duration_line_leng…
Browse files Browse the repository at this point in the history
…th-2

Fix highstate duration alignment (again)
  • Loading branch information
jfindlay committed Jul 24, 2015
2 parents 37766e9 + 4121152 commit b114f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/output/highstate.py
Expand Up @@ -376,7 +376,7 @@ def _counts(label, count):
sum_duration /= 1000
duration_unit = 's'
total_duration = u'Total run time: {0} {1}'.format(
'{:.3f}'.format(sum_duration).rjust(9 - len(duration_unit)),
'{:.3f}'.format(sum_duration).rjust(line_max_len - 5),
duration_unit)
hstrs.append(colorfmt.format(colors['CYAN'], total_duration, colors))

Expand Down

0 comments on commit b114f37

Please sign in to comment.