~tr3buchet/nova/lock

« back to all changes in this revision

Viewing changes to nova/image/s3.py

  • Committer: Vishvananda Ishaya
  • Date: 2010-12-22 20:59:53 UTC
  • mto: This revision was merged to the branch mainline in revision 482.
  • Revision ID: vishvananda@gmail.com-20101222205953-j2j5t0qjwlcd0t2s
merge trunk and upgrade to cheetah templating

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        result = self.index(context)
80
80
        result = [i for i in result if i['imageId'] == image_id]
81
81
        if not result:
82
 
            raise exception.NotFound('Image %s could not be found' % image_id)
 
82
            raise exception.NotFound(_('Image %s could not be found')
 
83
                                     % image_id)
83
84
        image = result[0]
84
85
        return image
85
86