#NEWLINE# @ contract #NEWLINE# def get_local_vm_data( path ) : #NEWLINE# #INDENT# ' Read the data about VMs from the local storage.\n\n    :param path: A path to read VM UUIDs from.\n     :type path: str\n\n    :return: A map of VM UUIDs onto the corresponing CPU MHz values.\n     :rtype: dict(str : list(int))\n    ' #NEWLINE# result = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for uuid in os . listdir ( path ) : #NEWLINE# #INDENT# with open ( os . path . join ( uuid , uuid ) , 'r' ) as f : #NEWLINE# #INDENT# result [ uuid ] = [ int ( x ) for x in f . read ( ) . strip ( ) . splitlines ( ) ] #NEWLINE# #UNINDENT# #UNINDENT# return result