#NEWLINE# def add_post( self , activity_post ) : #NEWLINE# #INDENT# if ( self . gplus_posts . count ( activity_post . post_id ) == 0 ) : #NEWLINE# #INDENT# self . gplus_posts . append ( self . post_id ) #NEWLINE# #UNINDENT# self . calculate_impact ( ) #NEWLINE# self . put ( )