#NEWLINE# @ register . function #NEWLINE# def log_action_class( action_id ) : #NEWLINE# #INDENT# if ( action_id in amo . LOG_BY_ID ) : #NEWLINE# #INDENT# cls = amo . LOG_BY_ID [ cls ] . action_class #NEWLINE# if ( cls is not None ) : #NEWLINE# #INDENT# return ( 'action-' + cls )