summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/keypair.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/compute/v2/keypair.py')
-rw-r--r--openstackclient/compute/v2/keypair.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/openstackclient/compute/v2/keypair.py b/openstackclient/compute/v2/keypair.py
index a63cbfec..2a8524d6 100644
--- a/openstackclient/compute/v2/keypair.py
+++ b/openstackclient/compute/v2/keypair.py
@@ -106,8 +106,7 @@ class DeleteKeypair(command.Command):
except Exception as e:
result += 1
LOG.error(_("Failed to delete key with name "
- "'%(name)s': %(e)s")
- % {'name': n, 'e': e})
+ "'%(name)s': %(e)s"), {'name': n, 'e': e})
if result > 0:
total = len(parsed_args.name)