Correct a noisy DeprecationWarning
Let's drop this annoying thing: /usr/lib/python3.6/site-packages/tripleoclient/workflows/plan_management.py:328: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead "Updating plan with passwords.".format(name)) Change-Id: Ia161b57b1442c2cc4bc83b1c7f94bfaf59548e2c
This commit is contained in:
parent
49a3f9cbd1
commit
f7fd2ed9eb
|
@ -324,8 +324,8 @@ def _load_passwords(swift_client, name):
|
|||
if "passwords" in plan_env:
|
||||
return plan_env['passwords']
|
||||
else:
|
||||
LOG.warn("No passwords found in existing plan {}. "
|
||||
"Updating plan with passwords.".format(name))
|
||||
LOG.warning("No passwords found in existing plan {}. "
|
||||
"Updating plan with passwords.".format(name))
|
||||
|
||||
|
||||
def _update_passwords(swift_client, name, passwords):
|
||||
|
|
Loading…
Reference in New Issue