def _format_final_exc_line(etype, value):
valuestr = _some_str(value)<EOL>if value is None or not valuestr:<EOL><INDENT>line = "<STR_LIT>".format(etype)<EOL><DEDENT>else:<EOL><INDENT>line = "<STR_LIT>".format(etype, valuestr)<EOL><DEDENT>return line<EOL>
Return a list of a single line -- normal case for format_exception_only