def send_commands(mqtt_client, command_topic, commands):
    'Send a sequence of commands.'
    backlog_topic = (command_topic + COMMAND_BACKLOG)
    backlog = ';'.join([('NoDelay;%s %s' % command) for command in commands])
    mqtt_client.publish(backlog_topic, backlog)
Send a sequence of commands.
def send_commands(mqtt_client, command_topic, commands):
    
    backlog_topic = (command_topic + COMMAND_BACKLOG)
    backlog = ';'.join([('NoDelay;%s %s' % command) for command in commands])
    mqtt_client.publish(backlog_topic, backlog)