##// END OF EJS Templates
some fixes to call colorize with unicode from oinspect
Jörgen Stenarson -
Show More
@@ -457,7 +457,7 b' class Inspector:'
457 457 # Print only text files, not extension binaries. Note that
458 458 # getsourcelines returns lineno with 1-offset and page() uses
459 459 # 0-offset, so we must adjust.
460 page.page(self.format(open(ofile).read()), lineno-1)
460 page.page(self.format(io.source_to_unicode(open(ofile).read())), lineno-1)
461 461
462 462 def _format_fields(self, fields, title_width=12):
463 463 """Formats a list of fields for display.
General Comments 0
You need to be logged in to leave comments. Login now