ansiballz - remove deprecated excommunicate command (#70921)

This commit is contained in:
Sam Doran 2020-07-29 12:05:12 -04:00 committed by GitHub
parent 20a7476064
commit 73a9ad9aea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- remove ``excommunicate`` debug command from AnsiballZ

View file

@ -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