##// END OF EJS Templates
Adding value.text fallback if ulinecache returns ''
Jörgen Stenarson -
Show More
@@ -561,6 +561,8 b' class ListTB(TBTools):'
561 561 Colors.filenameEm, py3compat.cast_unicode(value.filename), Colors.normalEm,
562 562 Colors.linenoEm, value.lineno, Colors.Normal ))
563 563 textline = ulinecache.getline(value.filename, value.lineno)
564 if textline == '':
565 textline = py3compat.cast_unicode(value.text, "utf-8")
564 566
565 567 if textline is not None:
566 568 i = 0
General Comments 0
You need to be logged in to leave comments. Login now