Deprecated LOG.warn.
Change-Id: I86950fad04989ef26a13f66e8abda22e1407da08 Closes-Bug: #1508442
This commit is contained in:
parent
46216f0ad1
commit
c7d80d4927
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user