Merge "Replace deprecated LOG.warn with LOG.warning"
This commit is contained in:
commit
9a244bcf88
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue