~soren/nova/iptables-security-groups

« back to all changes in this revision

Viewing changes to nova/image/s3.py

  • Committer: Soren Hansen
  • Date: 2011-01-03 09:56:21 UTC
  • mfrom: (430.2.79 nova)
  • Revision ID: soren@linux2go.dk-20110103095621-qy398qk1uk8o7cy3
Merge trunk

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