def _process_execute_error(self, msg):
content = msg['<STR_LIT:content>']<EOL>traceback = '<STR_LIT:\n>'.join(content['<STR_LIT>']) + '<STR_LIT:\n>'<EOL>if False:<EOL><INDENT>traceback = traceback.replace('<STR_LIT:U+0020>', '<STR_LIT>')<EOL>traceback = traceback.replace('<STR_LIT:\n>', '<STR_LIT>')<EOL>ename = content['<STR_LIT>']<EOL>ename_styled = '<STR_LIT>' % ename<EOL>traceback = traceback.replace(ename, ename_styled)<EOL>self._append_html(traceback)<EOL><DEDENT>else:<EOL><INDENT>self._append_plain_text(traceback)<EOL><DEDENT>
Reimplemented for IPython-style traceback formatting.