def s3_image_get(context, image_id):
 result = model_query(context, models.S3Image, read_deleted='yes').filter_by(id=image_id).first()
 if (not result):
  raise exception.ImageNotFound(image_id=image_id)
 return result

def s3_image_get ( context , image_id ) : result = model_query ( context , models . S3Image , read_deleted = 'yes' ) . filter_by ( id = image_id ) . first ( ) if ( not result ) : raise exception . ImageNotFound ( image_id = image_id ) return result
find local s3 image represented by the provided id .