Fix LOG.warn to LOG.warning
logging.warn is deprecated in Python 3. https://docs.python.org/3/library/logging.html#logging.warning Change-Id: I8a96c2b8c95076b465d1cd9fc068c46e3fadfb8c
This commit is contained in:
parent
c07bd76eac
commit
c2f7d63d3d
|
@ -1180,7 +1180,7 @@ class PlatformServicesBaseClass(NovaNetworkScenarioTest):
|
|||
try:
|
||||
delete_method()
|
||||
except Exception as exc:
|
||||
LOG.warn(exc.message)
|
||||
LOG.warning(exc.message)
|
||||
return
|
||||
if get_method:
|
||||
self._wait_for_deletion(get_method, timeout, sleep)
|
||||
|
|
Loading…
Reference in New Issue