Prepare for ruff bump

Change-Id: Ia9c402edebc8537d5019d18920b6679b05ea4378
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-02-19 20:15:43 +00:00
parent 702a37c7ca
commit 290bc580e6
120 changed files with 333 additions and 490 deletions

View File

@@ -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,
}