diff options
| author | jaypipes@gmail.com <> | 2011-01-20 19:04:54 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-01-20 19:04:54 +0000 |
| commit | a90276387c069057fb2f4f3ed5b744f9fd7c4987 (patch) | |
| tree | cd054851b3b85814254ba56ee1fb703a7d8bc551 /nova/api | |
| parent | d40213a83ec4eef8994df01acb3a745ed40e2278 (diff) | |
| parent | 13b4f32d1995a8c50bcf86786b6ee75d49bea701 (diff) | |
Finds and fixes remaining strings for i18n. Fixes bug #705186
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
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 |
