def note(note, newline=True):
    """
    """
    if newline == True:
        print(note % "-- NOTE: %s")
    else:
        sys.stdout.write("-- NOTE: %s" % note)
dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/messages.py/note/swapped operands of `%`