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

This commit is contained in:
Jenkins 2016-06-10 09:38:35 +00:00 committed by Gerrit Code Review
commit 9a244bcf88
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def get_existing_users():
user, tags = line.split(None, 1)
tags = tags.split('[')[1].split(']')[0].split(',')
except ValueError as e:
LOG.warn('{%s} did not have expected format.' % (line))
LOG.warning('{%s} did not have expected format.' % (line))
LOG.exception(e)
continue
users[user] = {'username': user, 'tags': tags}