#NEWLINE# def get_hash_map( module , lan ) : #NEWLINE# #INDENT# ' ' #NEWLINE# module_map = model . hash_table . find ( name = module , only_one = True ) #NEWLINE# if ( module_map is None ) : #NEWLINE# #INDENT# current_app . logger . critical ( 'Important, you have to restore last database!' ) #NEWLINE# return None #NEWLINE# #UNINDENT# return { x : y . get ( lan , '' ) for ( x , y ) in module_map [ 'value' ] . iteritems ( ) }