From 994b1e4a814a9303c56e8326361c964ddcf782d8 Mon Sep 17 00:00:00 2001 From: "Swapnil Kulkarni (coolsvap)" Date: Tue, 5 Jan 2016 12:31:53 +0530 Subject: [PATCH] Replace deprecated LOG.warn with LOG.warning LOG.warn is deprecated. It still used in a few places. Updated to non-deprecated LOG.warning. Change-Id: I86e13b88c766cc75034faaff61f1873bf86e1b36 Closes-Bug:#1508442 --- heat/common/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/common/context.py b/heat/common/context.py index 4901d06027..0e03d76637 100644 --- a/heat/common/context.py +++ b/heat/common/context.py @@ -174,7 +174,7 @@ class RequestContext(context.RequestContext): cfg.CONF, TRUSTEE_CONF_GROUP, trust_id=self.trust_id) if self._trusts_auth_plugin: - LOG.warn(_LW('SHDEBUG NOT Using the keystone_authtoken')) + LOG.warning(_LW('SHDEBUG NOT Using the keystone_authtoken')) return self._trusts_auth_plugin LOG.warning(_LW('Using the keystone_authtoken user as the heat '