1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Python2.6 fix for test-module

This commit is contained in:
Toshio Kuratomi 2016-04-11 12:13:31 -07:00
parent 13f00f3073
commit a330a24ccc

View file

@ -64,7 +64,7 @@ def parse():
parser.add_option('-I', '--interpreter', dest='interpreter',
help="path to interpreter to use for this module (e.g. ansible_python_interpreter=/usr/bin/python)",
metavar='INTERPRETER_TYPE=INTERPRETER_PATH',
default='python={}'.format(sys.executable))
default='python={0}'.format(sys.executable))
parser.add_option('-c', '--check', dest='check', action='store_true',
help="run the module in check mode")
parser.add_option('-n', '--noexecute', dest='execute', action='store_false',