#NEWLINE# @ tornado . web . asynchronous #NEWLINE# def get( self , relative_url ) : #NEWLINE# #INDENT# command_list = self . get_arguments ( 'cmd' ) #NEWLINE# info = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for command in command_list : #NEWLINE# #INDENT# if command . startswith ( 'Core' ) : #NEWLINE# #INDENT# command = ( 'self.application.' + command ) #NEWLINE# info [ command ] = eval ( self ) #NEWLINE# #UNINDENT# if command . startswith ( 'setattr' ) : #NEWLINE# #INDENT# info [ command ] = eval ( command ) #NEWLINE# #UNINDENT# #UNINDENT# self . write ( info ) #NEWLINE# self . finish ( )