sys.stderr.write(
"\n" + BOLD + "Usage:" + END + "\n\nmdpre < inputfile > outputfile\n\n"
)
if wantVerbose is True:
sys.stderr.write("Writing to Textbundle " + realpath + "\n\n")
to
log( bold( "Usage:") + "\n\nmdpre < inputfile > outputfile\n\n" )
# remove if blocks from verbose checking by creating a new log_detail method
log_detail("Writing to Textbundle " + realpath + "\n\n")
# this would be bold ;-)
def bold( p_text ):
return BOLD + p_text + END
add helper functions to change this
to