#NEWLINE# def for_moderation( self , admin = False ) : #NEWLINE# #INDENT# if ( admin and self . is_admin ) : #NEWLINE# #INDENT# return Comment . for_moderation ( ) #NEWLINE# #UNINDENT# return Comment . query . join ( Talk , ( Comment . talk_id == Talk . id ) ) . filter ( ( Talk . author == self ) ) . filter ( ( Comment . approved == False ) )