From 90ada0eb5486878b5f12346d92872537de53109a Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 15 Nov 2012 18:38:36 -0500 Subject: update deprecated stanza the deprecated stanza from nova had hard coded "Deprecated Config", but is now be used in not config scenarios. Update it to just "Deprecated". Change-Id: Icf86447aea6cd509e4e67fe0be7e9157006410a4 --- openstack/common/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstack') diff --git a/openstack/common/log.py b/openstack/common/log.py index 319c6e2..8469fe8 100644 --- a/openstack/common/log.py +++ b/openstack/common/log.py @@ -174,7 +174,7 @@ class ContextAdapter(logging.LoggerAdapter): self.log(logging.AUDIT, msg, *args, **kwargs) def deprecated(self, msg, *args, **kwargs): - stdmsg = _("Deprecated Config: %s") % msg + stdmsg = _("Deprecated: %s") % msg if CONF.fatal_deprecations: self.critical(stdmsg, *args, **kwargs) raise DeprecatedConfig(msg=stdmsg) -- cgit