#NEWLINE# def get( self , queue_name ) : #NEWLINE# #INDENT# queue_info = taskqueue_utils . QueueInfo . get ( queue_names = frozenset ( [ queue_name ] ) ) . next ( ) #NEWLINE# tasks = list ( self . _get_tasks ( queue_name , count = _TASKS_TO_LOAD ) ) #NEWLINE# self . response . write ( self . render ( 'taskqueue_tasks.html' , { #NEWLINE# #INDENT# 'is_push_queue' : ( queue_info . mode == taskqueue_service_pb . TaskQueueMode . PUSH ) , #NEWLINE# 'page' : self . request . get ( 'page' ) , #NEWLINE# 'queue_info' : queue_info , #NEWLINE# 'queue_name' : queue_name , #NEWLINE# 'tasks' : tasks , #NEWLINE# 'error' : self . request . get ( 'message' ) , #NEWLINE# #UNINDENT# } ) )