#NEWLINE# def get_jids( ) : #NEWLINE# #INDENT# '\n    Return a dict mapping all job ids to job information\n    ' #NEWLINE# ret = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( jid , job , _ , _ ) in _walk_through ( _job_dir ( ) ) : #NEWLINE# #INDENT# ret [ jid ] = salt . utils . jid . format_jid_instance ( jid , job ) #NEWLINE# if __opts__ . get ( 'job_cache_store_endtime' ) : #NEWLINE# #INDENT# endtime = get_endtime ( jid ) #NEWLINE# if endtime : #NEWLINE# #INDENT# ret [ jid ] [ 'EndTime' ] = endtime #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return ret