(msgSubject, msg, toRaise = ValueError, flush = True)
Death is upon us
Death is upon us
Death is upon us
def fatal(msgSubject, msg, toRaise = ValueError, flush = True) :
	"""Death is upon us"""
	
	global MESSAGE_LOG_FILE
	
	m = "  " + msg.replace("\n", '\n  ')
	
	subject = msgSubject

	s = """\n%s:\n%s\n%s\n\n  %s\nSorry,\n\n  Mariana\n""" %(subject, "-"*(len(subject) + 1), m, toRaise.message)
	
	if MSET.SAVE_MESSAGE_LOG :
		if not MESSAGE_LOG_FILE :
			MESSAGE_LOG_FILE = open(MSET.SAVE_MESSAGE_LOG_FILE, "w")
		MESSAGE_LOG_FILE.write("\ntimestamp:%s, human time:%s\n%s" % (time.time(), time.ctime(), s))
		if flush :
			MESSAGE_LOG_FILE.flush()

	raise toRaise
def fatal ( msgSubject , msg , toRaise = ValueError , flush = True ) : global MESSAGE_LOG_FILE m = "  " + msg . replace ( "\n" , '\n  ' ) subject = msgSubject s = """\n%s:\n%s\n%s\n\n  %s\nSorry,\n\n  Mariana\n""" % ( subject , "-" * ( len ( subject ) + 1 ) , m , toRaise . message ) if MSET . SAVE_MESSAGE_LOG : if not MESSAGE_LOG_FILE : MESSAGE_LOG_FILE = open ( MSET . SAVE_MESSAGE_LOG_FILE , "w" ) MESSAGE_LOG_FILE . write ( "\ntimestamp:%s, human time:%s\n%s" % ( time . time ( ) , time . ctime ( ) , s ) ) if flush : MESSAGE_LOG_FILE . flush ( ) raise toRaise