Skip to content

Commit

Permalink
Address bug whereby raw args were being interpreted as an array inste…
Browse files Browse the repository at this point in the history
…ad of a string
  • Loading branch information
Tejeda, Engelbert committed Jan 13, 2020
1 parent 41a863c commit 54e3245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_taskrunner/libs/cliutil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_invocation(script_name):
# occurs before the 'run' subcommand
arg_tf_index = sys.argv.index('-f') if '-f' in sys.argv else None
if raw_run_index:
raw_args = sys.argv[raw_run_index + 1:]
raw_args = ' '.join(sys.argv[raw_run_index + 1:])
sys.argv = sys.argv[0:raw_run_index]
else:
raw_args = ''
Expand Down

0 comments on commit 54e3245

Please sign in to comment.