We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 515be21 commit 0d4f87dCopy full SHA for 0d4f87d
1 file changed
bugzilla/bug.py
@@ -51,7 +51,8 @@ def __str__(self):
51
'print(bug)' is not recommended because of potential encoding issues.
52
Please use unicode(bug) where possible.
53
'''
54
- return unicode(self).encode(locale.getpreferredencoding(), 'replace')
+ return self.__unicode__().encode(
55
+ locale.getpreferredencoding(), 'replace')
56
57
def __unicode__(self):
58
'''Return a simple unicode string representation of this bug'''
0 commit comments