diff options
| author | sunyajing <yajing.sun@easystack.cn> | 2016-06-01 13:48:23 +0800 |
|---|---|---|
| committer | sunyajing <yajing.sun@easystack.cn> | 2016-06-13 16:15:01 +0800 |
| commit | 8c7e34d65ca6217eee54389fcd40554a8cb454e6 (patch) | |
| tree | 86d60a88abdde220baf6fa5020940816841f42d1 /doc/source/command-errors.rst | |
| parent | 0695d1495e8337149850b8f753c603e7cac1989c (diff) | |
| download | python-openstackclient-8c7e34d65ca6217eee54389fcd40554a8cb454e6.tar.gz | |
Fix image delete multiple arguments error
Fix image delete command, support processing multiple arguments
delete error.
Fix doc/source/command-errors.rst, make the msg format correct.
Change-Id: Icbe347fe077bc148bf71ea8f7399b0e934b7cdf9
Partially-Implements: blueprint multi-argument-image
Diffstat (limited to 'doc/source/command-errors.rst')
| -rw-r--r-- | doc/source/command-errors.rst | 7 |
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) |
