(exc_value)
Format a Myghty exception as HTML
Format a Myghty exception as HTML
Format a Myghty exception as HTML
def myghty_html_data(exc_value):
    """Format a Myghty exception as HTML"""
    if hasattr(exc_value, 'htmlformat'):
        return exc_value.htmlformat()[333:-14]
    if hasattr(exc_value, 'mtrace'):
        return exc_value.mtrace.htmlformat()[333:-14]
def myghty_html_data ( exc_value ) : if hasattr ( exc_value , 'htmlformat' ) : return exc_value . htmlformat ( ) [ 333 : - 14 ] if hasattr ( exc_value , 'mtrace' ) : return exc_value . mtrace . htmlformat ( ) [ 333 : - 14 ]