Fix a bug in do_action_show

Change-Id: I699978f1fd469b6c44a2a653188748cde53e7a21
This commit is contained in:
yanyanhu
2015-09-15 02:07:04 -04:00
parent e96641b77f
commit e817de1e58

View File

@@ -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 = {