@memoize
def id_to_glance_id(context, image_id):
 return db.s3_image_get(context, image_id)['uuid']

@ memoize def id_to_glance_id ( context , image_id ) : return db . s3_image_get ( context , image_id ) [ 'uuid' ]
convert an internal id to a glance id .