Changeset - 3105842da68f
default
0
1
0
changelog: use status label directly from c.statuses.get() output
In the changelog template, c.statuses.get() returns a list:
[ str(status), status_lbl, pr_id, pr_repo ]
So to obtain the status label, one can directly use the second element,
rather than using a helper function on the first.
In the changelog template, c.statuses.get() returns a list:
[ str(status), status_lbl, pr_id, pr_repo ]
So to obtain the status label, one can directly use the second element,
rather than using a helper function on the first.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)