#NEWLINE# def perform( self , action_object ) : #NEWLINE# #INDENT# ' Performs the action described by a specified Action object.\n        ' #NEWLINE# action = action_object . action #NEWLINE# if ( action [ : 5 ] == 'self.' ) : #NEWLINE# #INDENT# eval ( action , globals ( ) , { #NEWLINE# #INDENT# 'self' : self . _menu_self , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# method = getattr ( action , action ) #NEWLINE# try : #NEWLINE# #INDENT# method ( ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# method ( action_object )