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