#NEWLINE# def __init__( self , working_dir , capacity , holder = dict ) : #NEWLINE# #INDENT# super ( MapDeduper , self ) . __init__ ( working_dir ) #NEWLINE# self . sync_file = os . path . join ( self . working_dir , MAP_DEDUP_STATUS_FILENAME ) #NEWLINE# if ( os . path . exists ( self . sync_file ) and ( os . path . getsize ( self . sync_file ) > 0 ) ) : #NEWLINE# #INDENT# with open ( self . sync_file ) as f : #NEWLINE# #INDENT# self . container = holder ( pickle . load ( f ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . container = holder ( ) #NEWLINE# #UNINDENT# self . is_shutdown = False