From e817de1e58e373448ec76a3a10c183813696a3a0 Mon Sep 17 00:00:00 2001 From: yanyanhu Date: Tue, 15 Sep 2015 02:07:04 -0400 Subject: [PATCH] Fix a bug in do_action_show Change-Id: I699978f1fd469b6c44a2a653188748cde53e7a21 --- senlinclient/v1/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index 843e0d39..5fc31cf8 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -1607,7 +1607,7 @@ def do_action_show(sc, args): query = {'id': args.id} action = sc.get(models.Action, query) except exc.HTTPNotFound: - msg = _('Action %(id)s is not found') % args.id + msg = _('Action %(id)s is not found') % {'id': args.id} raise exc.CommandError(msg) formatters = {