From 20abf50bbc61d2bd89cdb4043880d0e132b44319 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Tue, 18 Oct 2016 01:05:05 +0800 Subject: [PATCH] Fix msg format err when raising InvalidActionParameterValue Change-Id: I2a79754f9c341735932f2f264f6dcf74c40c1a83 --- nimble/common/exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/common/exception.py b/nimble/common/exception.py index 1b2afea9..cb4d85eb 100644 --- a/nimble/common/exception.py +++ b/nimble/common/exception.py @@ -155,7 +155,7 @@ class InstanceNotFound(NotFound): msg_fmt = _("Instance %(instance)s could not be found.") -class InvalidActionParameterValue(InvalidParameterValue): +class InvalidActionParameterValue(Invalid): msg_fmt = _("The Parameter value: %(value)s for %(action) action of " "instance %(instance)s is invalid.")