Show More
@@ -550,7 +550,7 b' class ListTB(TBTools):' | |||
|
550 | 550 | stype = Colors.excName + etype.__name__ + Colors.Normal |
|
551 | 551 | if value is None: |
|
552 | 552 | # Not sure if this can still happen in Python 2.6 and above |
|
553 |
list.append( |
|
|
553 | list.append( py3compat.cast_unicode(stype) + '\n') | |
|
554 | 554 | else: |
|
555 | 555 | if etype is SyntaxError: |
|
556 | 556 | have_filedata = True |
@@ -565,7 +565,7 b' class ListTB(TBTools):' | |||
|
565 | 565 | while i < len(value.text) and value.text[i].isspace(): |
|
566 | 566 | i += 1 |
|
567 | 567 | list.append('%s %s%s\n' % (Colors.line, |
|
568 | value.text.strip(), | |
|
568 | py3compat.cast_unicode(value.text.strip()), | |
|
569 | 569 | Colors.Normal)) |
|
570 | 570 | if value.offset is not None: |
|
571 | 571 | s = ' ' |
General Comments 0
You need to be logged in to leave comments.
Login now