mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix ansible-test custom docker image traceback.
This commit is contained in:
parent
40fb992a6f
commit
712ad9ed64
1 changed files with 1 additions and 1 deletions
|
@ -1478,7 +1478,7 @@ def get_integration_docker_filter(args, targets):
|
|||
|
||||
python_version = 2 # images are expected to default to python 2 unless otherwise specified
|
||||
|
||||
python_version = int(get_docker_completion().get(args.docker_raw).get('python', str(python_version)))
|
||||
python_version = int(get_docker_completion().get(args.docker_raw, {}).get('python', str(python_version)))
|
||||
|
||||
if args.python: # specifying a numeric --python option overrides the default python
|
||||
if args.python.startswith('3'):
|
||||
|
|
Loading…
Reference in a new issue