Deprecated LOG.warn.

Change-Id: I86950fad04989ef26a13f66e8abda22e1407da08
Closes-Bug: #1508442
This commit is contained in:
sharat.sharma 2016-05-09 15:33:46 +05:30
parent 46216f0ad1
commit c7d80d4927
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ def read_uri(uri):
fd.close()
return raw
except Exception as e:
LOG.warn('Error "%(error)s" while reading uri %(uri)s',
{'error': e, 'uri': uri})
LOG.warning('Error "%(error)s" while reading uri %(uri)s',
{'error': e, 'uri': uri})
def random_string(length=6):