#NEWLINE# def store_url( self , sender , url ) : #NEWLINE# #INDENT# score = self . redis_conn . zscore ( self . key , url ) #NEWLINE# if ( score is None ) : #NEWLINE# #INDENT# self . redis_conn . zadd ( self . key , url , 1 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . redis_conn . zincrby ( self . key , url , url . repeat_score )