def perform_flag(request, comment):
 (flag, created) = comments.models.CommentFlag.objects.get_or_create(comment=comment, user=request.user, flag=comments.models.CommentFlag.SUGGEST_REMOVAL)
 signals.comment_was_flagged.send(sender=comment.__class__, comment=comment, flag=flag, created=created, request=request)

def perform_flag ( request , comment ) : ( flag , created ) = comments . models . CommentFlag . objects . get_or_create ( comment = comment , user = request . user , flag = comments . models . CommentFlag . SUGGEST_REMOVAL ) signals . comment_was_flagged . send ( sender = comment . __class__ , comment = comment , flag = flag , created = created , request = request )
actually perform the flagging of a comment from a request .