#NEWLINE# def AddThrottle( self , name , limit ) : #NEWLINE# #INDENT# self . throttles [ name ] = limit #NEWLINE# self . transferred [ name ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . prior_block [ name ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . totals [ name ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . last_rotate [ name ] = self . get_time ( ) #NEWLINE# self . rotate_mutex [ name ] = threading . Lock ( )