Example #1
0
 def render_pyerr(self, output):
     # Note: a traceback is a *list* of frames.
     return ["::", "", indent(remove_ansi("\n".join(output.traceback))), ""]
Example #2
0
 def render_pyerr(self, output):
     # Note: a traceback is a *list* of frames.
     return self.in_env("traceback", self.in_env("verbatim", remove_ansi("\n".join(output.traceback))))
Example #3
0
 def render_pyerr(self, output):
     # Note: a traceback is a *list* of frames.
     return [indent(remove_ansi('\n'.join(output.traceback))), '']
Example #4
0
 def render_pyerr(self, output):
     # Note: a traceback is a *list* of frames.
     return self.in_env('traceback',
                     self.in_env('verbatim',
                              remove_ansi('\n'.join(output.traceback))))
Example #5
0
 def render_pyerr(self, output):
     # Note: a traceback is a *list* of frames.
     return self.in_env(
         'traceback',
         self.in_env('verbatim', remove_ansi('\n'.join(output.traceback))))
Example #6
0
	def render_pyerr(self, output):
                return self.in_env('traceback',                        self.in_env('verbatim',                                  remove_ansi('\n'.join(output.traceback))))