Fix of issue 3480.
svn: r13995
This commit is contained in:
parent
418b89007e
commit
f579f495cb
@ -352,7 +352,7 @@ class NameDisplay(object):
|
|||||||
d_keys.sort(_make_cmp) # reverse sort by ikeyword
|
d_keys.sort(_make_cmp) # reverse sort by ikeyword
|
||||||
for (code, ikeyword) in d_keys:
|
for (code, ikeyword) in d_keys:
|
||||||
exp, keyword, ikeyword = d[code]
|
exp, keyword, ikeyword = d[code]
|
||||||
ikeyword = unicode(ikeyword, "utf8")
|
#ikeyword = unicode(ikeyword, "utf8")
|
||||||
format_str = format_str.replace(ikeyword, "%"+ code)
|
format_str = format_str.replace(ikeyword, "%"+ code)
|
||||||
format_str = format_str.replace(ikeyword.title(), "%"+ code)
|
format_str = format_str.replace(ikeyword.title(), "%"+ code)
|
||||||
format_str = format_str.replace(ikeyword.upper(), "%"+ code.upper())
|
format_str = format_str.replace(ikeyword.upper(), "%"+ code.upper())
|
||||||
|
Loading…
Reference in New Issue
Block a user