summaryrefslogtreecommitdiff
path: root/doc/source/command-errors.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/command-errors.rst')
-rw-r--r--doc/source/command-errors.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/source/command-errors.rst b/doc/source/command-errors.rst
index 48b828fd..c4adb7d1 100644
--- a/doc/source/command-errors.rst
+++ b/doc/source/command-errors.rst
@@ -197,9 +197,6 @@ multiple ``delete_network()`` calls.
if ret > 0:
total = len(parsed_args.network)
- msg = _("Failed to delete %(ret)s of %(total)s networks.") %
- {
- "ret": ret,
- "total": total,
- }
+ msg = (_("Failed to delete %(ret)s of %(total)s networks.")
+ % {"ret": ret, "total": total})
raise exceptions.CommandError(msg)