Skip to content

Commit

Permalink
get: don't print bug description as 'Comment 0'
Browse files Browse the repository at this point in the history
  • Loading branch information
glebius committed Dec 27, 2023
1 parent 83721f3 commit 59260d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bugz/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,10 @@ def show_bug_info(bug, settings):
who = comment['creator']
when = parsetime(comment['time'])
header_left = '%s %s' % (who, printtime(when, settings))
header_right = '[Comment %d]' % i
if i == 0:
header_right = 'Description'
else:
header_right = '[Comment %d]' % i
space = settings.columns - len(header_left) - len(header_right) - 3
if space < 0:
space = 0
Expand Down

0 comments on commit 59260d9

Please sign in to comment.