#NEWLINE# def get_inverse_mapping_table( game ) : #NEWLINE# #INDENT# inverse_mapping = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# j = load_json_asset ( os . path . join ( game . path , urnmapping . mapping_table ) ) #NEWLINE# if j : #NEWLINE# #INDENT# urnmapping = ( j . get ( 'urnmapping' ) or j . get ( 'urnremapping' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# for ( k , v ) in urnmapping . iteritems ( ) : #NEWLINE# #INDENT# inverse_mapping [ v ] = k #NEWLINE# #UNINDENT# #UNINDENT# return inverse_mapping