#NEWLINE# def build_notification( item ) : #NEWLINE# #INDENT# notification = Notification ( item [ 'id' ] , item [ 'account_id' ] , item [ 'viewed' ] , item [ 'content' ] ) #NEWLINE# if ( 'comment' in notification . content ) : #NEWLINE# #INDENT# notification . content = format_comment_tree ( item [ 'content' ] ) #NEWLINE# #UNINDENT# return notification