##// END OF EJS Templates
py3: fix slicing of bisect label in templatefilters.shortbisect()
Yuya Nishihara -
r36849:82af07e1 default
parent child Browse files
Show More
@@ -18,6 +18,7 b' test-basic.t'
18 test-bheads.t
18 test-bheads.t
19 test-bisect.t
19 test-bisect.t
20 test-bisect2.t
20 test-bisect2.t
21 test-bisect3.t
21 test-blackbox.t
22 test-blackbox.t
22 test-bookmarks-current.t
23 test-bookmarks-current.t
23 test-bookmarks-merge.t
24 test-bookmarks-merge.t
@@ -349,7 +349,7 b' def shortbisect(label):'
349 is not a valid bisection status.
349 is not a valid bisection status.
350 """
350 """
351 if label:
351 if label:
352 return label[0].upper()
352 return label[0:1].upper()
353 return ' '
353 return ' '
354
354
355 @templatefilter('shortdate')
355 @templatefilter('shortdate')
General Comments 0
You need to be logged in to leave comments. Login now