From abd129002ce424b96d13f97dd4bd5de166caa12c Mon Sep 17 00:00:00 2001 From: chenke Date: Tue, 31 Jul 2018 17:15:54 +0800 Subject: [PATCH] remove extra'_' and space Change-Id: I85cdb0dd4e8f192181146b99f0416bf777a8279a --- watcher/common/exception.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/watcher/common/exception.py b/watcher/common/exception.py index eba875424..e64595123 100644 --- a/watcher/common/exception.py +++ b/watcher/common/exception.py @@ -150,7 +150,7 @@ class ResourceNotFound(ObjectNotFound): class InvalidParameter(Invalid): - msg_fmt = _("%(parameter)s has to be of type %(parameter_type)s") + msg_fmt = _("%(parameter)s has to be of type %(parameter_type)s") class InvalidIdentity(Invalid): @@ -514,9 +514,9 @@ class NegativeLimitError(WatcherException): class NotificationPayloadError(WatcherException): - _msg_fmt = _("Payload not populated when trying to send notification " - "\"%(class_name)s\"") + msg_fmt = _("Payload not populated when trying to send notification " + "\"%(class_name)s\"") class InvalidPoolAttributeValue(Invalid): - msg_fmt = _("The %(name)s pool %(attribute)s is not integer") + msg_fmt = _("The %(name)s pool %(attribute)s is not integer")