#NEWLINE# def _sync_from_file( self ) : #NEWLINE# #INDENT# logging . info ( 'Start to dump from xml file' ) #NEWLINE# logging . info ( 'Filename: {}' . format ( self . config [ 'xml_file' ] [ 'filename' ] ) ) #NEWLINE# docs = reduce ( ( lambda x , y : y ( x ) ) , [ self . _xml_parser , self . _formatter , self . _mapper , self . _processor ] , self . _xml_file_loader ( self . config [ 'xml_file' ] [ 'filename' ] ) ) #NEWLINE# self . _updater ( docs ) #NEWLINE# logging . info ( 'Dump success' )