def barf(msg, exit=None, f=sys.stderr):
    '''Exit with a log message (usually a fatal error)'''
    exit = const('FSQ_FAIL_TMP') if exit is None else exit
    shout(msg, f)
    sys.exit(exit)
def barf ( msg , exit = None , f = sys . stderr ) : exit = const ( 'FSQ_FAIL_TMP' ) if exit is None else exit shout ( msg , f ) sys . exit ( exit )
Exit with a log message (usually a fatal error)