##// END OF EJS Templates
small tweak to do syntax highlighting on objectinspect
John Bohannon -
Show More
@@ -564,6 +564,9 b' class Inspector:'
564 for title, key in fields:
564 for title, key in fields:
565 field = info[key]
565 field = info[key]
566 if field is not None:
566 if field is not None:
567 if key == "source":
568 displayfields.append((title, self.format(cast_unicode(field.rstrip()))))
569 else:
567 displayfields.append((title, field.rstrip()))
570 displayfields.append((title, field.rstrip()))
568
571
569 if info['isalias']:
572 if info['isalias']:
General Comments 0
You need to be logged in to leave comments. Login now