summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorjaypipes@gmail.com <>2011-01-20 19:04:54 +0000
committerTarmac <>2011-01-20 19:04:54 +0000
commita90276387c069057fb2f4f3ed5b744f9fd7c4987 (patch)
treecd054851b3b85814254ba56ee1fb703a7d8bc551 /nova/api
parentd40213a83ec4eef8994df01acb3a745ed40e2278 (diff)
parent13b4f32d1995a8c50bcf86786b6ee75d49bea701 (diff)
Finds and fixes remaining strings for i18n. Fixes bug #705186
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index c94540793..f0aa8d813 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -59,7 +59,7 @@ def _gen_key(context, user_id, key_name):
# creation before creating key_pair
try:
db.key_pair_get(context, user_id, key_name)
- raise exception.Duplicate("The key_pair %s already exists"
+ raise exception.Duplicate(_("The key_pair %s already exists")
% key_name)
except exception.NotFound:
pass