#NEWLINE# @ staticmethod #NEWLINE# def byName( action ) : #NEWLINE# #INDENT# for obj in AdminAction . objects : #NEWLINE# #INDENT# if ( action . action == action ) : #NEWLINE# #INDENT# return obj #NEWLINE# #UNINDENT# #UNINDENT# return None