#NEWLINE# def load( self , entries ) : #NEWLINE# #INDENT# if ( 'from' in entries . keys ( ) ) : #NEWLINE# #INDENT# entries [ 'from_' ] = entries [ 'from' ] #NEWLINE# del entries [ 'from' ] #NEWLINE# #UNINDENT# if ( 'uri' in entries . keys ( ) ) : #NEWLINE# #INDENT# del entries [ 'uri' ] #NEWLINE# #UNINDENT# for key in entries . keys ( ) : #NEWLINE# #INDENT# if ( key . startswith ( 'date_' ) and isinstance ( self [ key ] , string_types ) ) : #NEWLINE# #INDENT# entries [ key ] = self . _parse_date ( entries [ key ] ) #NEWLINE# #UNINDENT# #UNINDENT# self . __dict__ . update ( entries )