#NEWLINE# def clear( self , package ) : #NEWLINE# #INDENT# del self . db [ self . redis_key ( package . filename ) ] #NEWLINE# self . db . srem ( self . redis_filename_set ( package . name ) , package . filename ) #NEWLINE# if ( self . db . scard ( self . redis_filename_set ( package . name ) ) == 0 ) : #NEWLINE# #INDENT# self . db . srem ( self . redis_set , self . name )