def confirmation(self, pdu):
        if _debug: MiddleMan._debug('confirmation %r', pdu)

        # decode the line
        line = pdu.pduData.decode('utf_8')
        if _debug: MiddleMan._debug('    - line: %r', line)

        if pdu.pduSource == local_unicast_tuple:
            sys.stdout.write((line,) % "received %r from self\n")
        else:
            sys.stdout.write("received %r from %s\n" % (
                line, pdu.pduSource,
                ))


#
#   BroadcastReceiver
#
dataset/ETHPy150Open JoelBender/bacpypes/samples/UDPConsole.py/MiddleMan.confirmation/swapped operands of `%`