diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-01-21 16:03:51 -0800 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-01-21 16:03:51 -0800 |
commit | 60f992b7fa1d1abf494cc210f7f199414a0538bb (patch) | |
tree | 802e26b3c01f6edbc5949e8c900ab2121bc55b90 | |
parent | 842bd9646ad0e9008af86da9153fdf592788b3c3 (diff) | |
download | nova-60f992b7fa1d1abf494cc210f7f199414a0538bb.tar.gz nova-60f992b7fa1d1abf494cc210f7f199414a0538bb.tar.xz nova-60f992b7fa1d1abf494cc210f7f199414a0538bb.zip |
i18n!
-rw-r--r-- | nova/api/ec2/cloud.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 766727b56..60e47fb87 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -536,7 +536,7 @@ class CloudController(object): volume = self.volume_api.get(context, internal_id) volumes.append(volume) except exception.NotFound: - raise exception.NotFound("Volume %s could not be found" + raise exception.NotFound(_("Volume %s not found") % ec2_id) else: volumes = self.volume_api.get_all(context) @@ -671,7 +671,7 @@ class CloudController(object): instance = self.compute_api.get(context, internal_id) instances.append(instance) except exception.NotFound: - raise exception.NotFound("Instance %s could not be found" + raise exception.NotFound(_("Instance %s not found") % ec2_id) else: instances = self.compute_api.get_all(context, **kwargs) |