def get_queue_list(queue_list=None):
 default_queue_list = queue_timeout.keys()
 if queue_list:
  if isinstance(queue_list, basestring):
   queue_list = [queue_list]
  for queue in queue_list:
   validate_queue(queue, default_queue_list)
  return queue_list
 else:
  return default_queue_list

def get_queue_list ( queue_list = None ) : default_queue_list = queue_timeout . keys ( ) if queue_list : if isinstance ( queue_list , basestring ) : queue_list = [ queue_list ] for queue in queue_list : validate_queue ( queue , default_queue_list ) return queue_list else : return default_queue_list
defines possible queues .