Merge "Remove entry of 'deprecated' log level"

This commit is contained in:
Jenkins 2015-07-22 13:44:53 +00:00 committed by Gerrit Code Review
commit 3d4048dd50

View File

@ -23,7 +23,7 @@ import eventlet.event
from oslo_log import log as logging
import yaql.context
from murano.common.i18n import _
from murano.common.i18n import _LW
import murano.dsl.attribute_store as attribute_store
import murano.dsl.dsl_exception as dsl_exception
import murano.dsl.expressions as expressions
@ -87,9 +87,9 @@ class MuranoDslExecutor(object):
# TODO(slagun): check method accessibility from murano_class
if not external_call and is_special_method:
LOG.deprecated(_('initialize/destroy methods are called '
'automatically by engine. This call is no-op '
'and will become exception in the future'))
LOG.warning(_LW('initialize/destroy methods are called '
'automatically by engine. This call is no-op '
'and will become exception in the future'))
return None
# restore this from upcast object (no change if there was no upcast)