Replace deprecated LOG.warn with LOG.warning
LOG.warn is deprecated. It is still used in few modules. Replaced with non-deprecated LOG.warning. Change-Id: I409a08883ec4385a43fc2ce88a02d19bafdd7c19 Partial-Bug: #1508442
This commit is contained in:
parent
16ebd1d51b
commit
ab6d426e5f
|
@ -304,8 +304,8 @@ class ActionTracker(object):
|
|||
if _is_equivalent(entry))
|
||||
self._tracker[key].remove(to_remove)
|
||||
except StopIteration:
|
||||
LOG.warn("Could not find action entry to remove "
|
||||
"from tracker: {}".format(action))
|
||||
LOG.warning("Could not find action entry to remove "
|
||||
"from tracker: {}".format(action))
|
||||
|
||||
def get_dominant_action(self, key):
|
||||
return self._tracker[key][0] if self._tracker.get(key, None) else None
|
||||
|
|
Loading…
Reference in New Issue