##// END OF EJS Templates
Fixed name error bug in function safe_unicode in module py3compat.
rossant -
Show More
@@ -60,12 +60,12 b' def safe_unicode(e):'
60 pass
60 pass
61
61
62 try:
62 try:
63 return py3compat.str_to_unicode(str(e))
63 return str_to_unicode(str(e))
64 except UnicodeError:
64 except UnicodeError:
65 pass
65 pass
66
66
67 try:
67 try:
68 return py3compat.str_to_unicode(repr(e))
68 return str_to_unicode(repr(e))
69 except UnicodeError:
69 except UnicodeError:
70 pass
70 pass
71
71
General Comments 0
You need to be logged in to leave comments. Login now