Skip to content

Commit a1b9138

Browse files
abncrobinso
authored andcommitted
Use bug.__unicode__() instead of built-in unicode method for forward compatibility
1 parent 4932eed commit a1b9138

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/bugzilla

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ def _format_output(bz, opt, buglist):
771771
(c['time'], c['author'], c['text']))
772772

773773
elif fieldname == "__unicode__":
774-
val = unicode(b)
774+
val = b.__unicode__()
775775
else:
776776
val = getattr(b, fieldname, "")
777777

0 commit comments

Comments
 (0)