def _parse_queue_list(list_output):
 queues = dict(((q.split('/')[(-1)], q) for q in list_output['stdout']))
 return queues

def _parse_queue_list ( list_output ) : queues = dict ( ( ( q . split ( '/' ) [ ( - 1 ) ] , q ) for q in list_output [ 'stdout' ] ) ) return queues
parse the queue to get a dict of name -> url .