#NEWLINE# @ extensions . expected_errors ( ( 403 , 404 ) ) #NEWLINE# def show( self , req , image_id , id ) : #NEWLINE# #INDENT# context = req . environ [ 'nova.context' ] #NEWLINE# metadata = self . _get_image ( context , image_id ) [ 'properties' ] #NEWLINE# if ( id in metadata ) : #NEWLINE# #INDENT# return { #NEWLINE# #INDENT# 'meta' : { #NEWLINE# #INDENT# id : metadata [ id ] , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise exc . HTTPNotFound ( )