Skip to content

Commit ef61950

Browse files
committed
Use unicode_literals from __future__
Resolves: #48
1 parent 03b5231 commit ef61950

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bugzilla/bug.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# option) any later version. See http://www.gnu.org/copyleft/gpl.html for
1010
# the full text of the license.
1111

12+
from __future__ import unicode_literals
1213
import locale
1314
from logging import getLogger
1415
import sys
@@ -59,7 +60,7 @@ def __str__(self):
5960

6061
def __unicode__(self):
6162
'''Return a simple unicode string representation of this bug'''
62-
return u"#%-6s %-10s - %s - %s" % (self.bug_id, self.bug_status,
63+
return "#%-6s %-10s - %s - %s" % (self.bug_id, self.bug_status,
6364
self.assigned_to, self.summary)
6465

6566
def __repr__(self):

0 commit comments

Comments
 (0)