#NEWLINE# def dump_db( db_driver , db_name , migration_version , dump_filename ) : #NEWLINE# #INDENT# db_driver . create ( db_name ) #NEWLINE# try : #NEWLINE# #INDENT# migrate ( db_driver , db_name , migration_version ) #NEWLINE# db_driver . dump ( db_name , dump_filename ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# db_driver . drop ( db_name )