Improve ansible-test python interpreter selection. (#54445)

This commit is contained in:
Matt Clay 2019-03-27 16:40:27 -07:00 committed by GitHub
parent 3637ce4538
commit 785afc7a53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 203 additions and 99 deletions

View file

@ -68,6 +68,7 @@ class EnvironmentConfig(CommonConfig):
self.python = None
self.python_version = self.python or '.'.join(str(i) for i in sys.version_info[:2])
self.python_interpreter = args.python_interpreter
self.delegate = self.tox or self.docker or self.remote
self.delegate_args = [] # type: list[str]