Ejemplo n.º 1
0
def impl(context, email_file_path):
    exception_raised = False
    try:
        validate_parse_email_file(context, email_file_path)
    except Exception as e:
        exception_raised = True
    if exception_raised == False:
        raise Exception("File is in proper format")
Ejemplo n.º 2
0
def impl(context, email_file_path):
    exception_raised = False
    try:
        validate_parse_email_file(context, email_file_path)
    except Exception as e:
        exception_raised = True
    if exception_raised == False:
        raise Exception("File is in proper format")
Ejemplo n.º 3
0
def impl(context, email_file_path):
    try:
        validate_parse_email_file(context, email_file_path)
    except Exception as e:
        raise Exception(str(e))
Ejemplo n.º 4
0
def impl(context, email_file_path):
    try:
        validate_parse_email_file(context, email_file_path)
    except Exception as e:
        raise Exception(str(e))