#NEWLINE# def _get_data( self , path ) : #NEWLINE# #INDENT# norm_path = posixpath . join ( CONF . ec2_metadata_base_url , path ) #NEWLINE# LOG . debug ( 'Getting metadata from: %(norm_path)s' , { #NEWLINE# #INDENT# 'norm_path' : norm_path , #NEWLINE# #UNINDENT# } ) #NEWLINE# req = request . Request ( norm_path ) #NEWLINE# response = self . _get_response ( req ) #NEWLINE# return response . read ( )