Python updates

Setting the pools for a slave using a python list (computer.set_pools)


import drqueue

# Retrieve the first computer
computer = drqueue.request_computer_list (drqueue.CLIENT) r0

# Create a new list of pools
pools = []
pools.append (drqueue.pool("Override pool"))
pools.append (drqueue.pool("An another one"))
pools.append (drqueue.pool("The last one"))

# Set that computer's pools to the list overriding previous list
new_pool_list = computer.set_pools (pools)

# We could then update (retrieve it's information stored on the master) the computer to check if it worked.