Prepare for ruff bump
Change-Id: Ia9c402edebc8537d5019d18920b6679b05ea4378 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -258,13 +258,13 @@ class DeleteKeypair(command.Command):
|
||||
except Exception as e:
|
||||
result += 1
|
||||
LOG.error(
|
||||
_("Failed to delete key with name " "'%(name)s': %(e)s"),
|
||||
_("Failed to delete key with name '%(name)s': %(e)s"),
|
||||
{'name': n, 'e': e},
|
||||
)
|
||||
|
||||
if result > 0:
|
||||
total = len(parsed_args.name)
|
||||
msg = _("%(result)s of %(total)s keys failed " "to delete.") % {
|
||||
msg = _("%(result)s of %(total)s keys failed to delete.") % {
|
||||
'result': result,
|
||||
'total': total,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user