mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Correct config manager deprecation warning
This commit is contained in:
parent
b818e986b6
commit
b905a349ac
1 changed files with 2 additions and 1 deletions
|
@ -365,4 +365,5 @@ class ConfigManager(object):
|
|||
sys.stderr.write("Unable to set correct type for:\n\t%s\n" % '\n\t'.join(self.UNABLE))
|
||||
if self.DEPRECATED:
|
||||
for k, reason in self.DEPRECATED:
|
||||
sys.stderr.write("[DEPRECATED] %s: %(why)s. It will be removed in %(version)s. As alternative %(alternative)s", (k, reason))
|
||||
sys.stderr.write("[DEPRECATED] %(k)s: %(why)s. It will be removed in %(version)s. As alternative use one of [%(alternatives)s]\n"
|
||||
% dict(k=k, **reason))
|
||||
|
|
Loading…
Reference in a new issue