ansible/test/integration/targets/expect/files/test_command.py
Matt Clay 4816bb4f43
More boilerplate fixes. (#70224)
* Fix boilerplate in hacking dir.
* Fix boilerplate in docs dir.
* Fix boilerplate in integration tests.
* Fix boilerplate in examples.
2020-06-22 19:05:30 -07:00

15 lines
303 B
Python

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import sys
try:
input_function = raw_input
except NameError:
input_function = input
prompts = sys.argv[1:] or ['foo']
for prompt in prompts:
user_input = input_function(prompt)
print(user_input)