Merge "Change LOG.warn to LOG.warning"

This commit is contained in:
Jenkins 2016-01-08 07:45:33 +00:00 committed by Gerrit Code Review
commit 87c4f80972
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ def _log_warnings(resp):
for msg in (resp['info'], resp['node'], resp['data']):
msgstr = str(msg)
if 'warn' in msgstr.lower():
LOG.warn(_("Warning from xCAT: %s") % msgstr)
LOG.warning(_("Warning from xCAT: %s") % msgstr)
def _is_warning(err_str):