ansiballz - remove deprecated excommunicate command (#70921)
This commit is contained in:
parent
20a7476064
commit
73a9ad9aea
2 changed files with 2 additions and 4 deletions
2
changelogs/fragments/ansiballz-remove-excommunicate.yaml
Normal file
2
changelogs/fragments/ansiballz-remove-excommunicate.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- remove ``excommunicate`` debug command from AnsiballZ
|
|
@ -237,10 +237,6 @@ def _ansiballz_main():
|
||||||
basedir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'debug_dir')
|
basedir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'debug_dir')
|
||||||
args_path = os.path.join(basedir, 'args')
|
args_path = os.path.join(basedir, 'args')
|
||||||
|
|
||||||
if command == 'excommunicate':
|
|
||||||
print('The excommunicate debug command is deprecated and will be removed in 2.11. Use execute instead.')
|
|
||||||
command = 'execute'
|
|
||||||
|
|
||||||
if command == 'explode':
|
if command == 'explode':
|
||||||
# transform the ZIPDATA into an exploded directory of code and then
|
# transform the ZIPDATA into an exploded directory of code and then
|
||||||
# print the path to the code. This is an easy way for people to look
|
# print the path to the code. This is an easy way for people to look
|
||||||
|
|
Loading…
Reference in a new issue