Merge "Replace deprecated LOG.warn with LOG.warning"

This commit is contained in:
Jenkins 2016-04-20 05:20:47 +00:00 committed by Gerrit Code Review
commit e4ba891af5
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@ class StackUpdateManager(object):
return [ref for ref in refs if
re.match(pattern, self._server_name(ref))]
except re.error as err:
LOG.warn("'%s' is invalid regular expression: %s",
regexp.encode('string-escape'), err)
LOG.warning("'%s' is invalid regular expression: %s",
regexp.encode('string-escape'), err)
return []
else:
return [refs.pop()]