def handle_err(*args):
    """ Handle fatal errors, caught in __main__ scope.
        If DEBUG is set, print a real traceback.
        Otherwise, `print_err` any arguments passed.
    """
    if DEBUG:
        print_err(traceback.format_exc(), color=False)
    else:
        print_err(*args, newline=True)
def handle_err ( * args ) : if DEBUG : print_err ( traceback . format_exc ( ) , color = False ) else : print_err ( * args , newline = True )
Handle fatal errors, caught in __main__ scope.
        If DEBUG is set, print a real traceback.
        Otherwise, `print_err` any arguments passed.