def write_fmt(bib_name, bib_file, bib_entries):
 (cache_name, formatted_cache_name) = _cache_name(bib_name, bib_file)
 current_time = time.time()
 print 'Writing bibliography into cache {0}'.format(cache_name)
 cache.write_global(cache_name, (current_time, bib_entries))
 formatted_entries = _create_formatted_entries(formatted_cache_name, bib_entries, current_time)
 return formatted_entries

def write_fmt ( bib_name , bib_file , bib_entries ) : ( cache_name , formatted_cache_name ) = _cache_name ( bib_name , bib_file ) current_time = time . time ( ) print 'Writing bibliography into cache {0}' . format ( cache_name ) cache . write_global ( cache_name , ( current_time , bib_entries ) ) formatted_entries = _create_formatted_entries ( formatted_cache_name , bib_entries , current_time ) return formatted_entries
writes the entries resulting from the bibliography into the cache .