diff options
author | James Cammarata <jimi@sngx.net> | 2014-07-25 15:23:10 -0500 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2014-07-25 15:25:05 -0500 |
commit | 146a3684b33d05bd1aedb5ad931e1c5286aff3cd (patch) | |
tree | daafc3b8b08c5a09a7cbbcc055ecaa12bd9212df | |
parent | 69a49b54cd782ada191dc0173a794be286c18da5 (diff) | |
download | ansible-146a3684b33d05bd1aedb5ad931e1c5286aff3cd.tar.gz |
Make sure empty non-quoted tokens are not added to the arg params list
-rw-r--r-- | lib/ansible/utils/splitter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/utils/splitter.py b/lib/ansible/utils/splitter.py index d102dff26c..152fa4782d 100644 --- a/lib/ansible/utils/splitter.py +++ b/lib/ansible/utils/splitter.py @@ -139,7 +139,7 @@ def split_args(args): # finally, if we're at zero depth for all blocks and not inside quotes, and have not # yet appended anything to the list of params, we do so now - if not (print_depth or block_depth or comment_depth) and not inside_quotes and not appended: + if not (print_depth or block_depth or comment_depth) and not inside_quotes and not appended and token != '': params.append(token) # If we're done and things are not at zero depth or we're still inside quotes, |