Fix junos_command.py network module to support spaces in rpc args (#48343)

* Fix junos_command.py network module to support spaces in rpc args

*  Fix junos_command.py network module to support spaces in rpc args
This commit is contained in:
vanyasvl
2018-11-13 15:03:48 +10:00
committed by Sumit Jaiswal
parent 2b74a17996
commit 80d57ece7b

View File

@@ -266,7 +266,7 @@ def parse_rpcs(module):
items = list()
for rpc in (module.params['rpcs'] or list()):
parts = split(rpc)
parts = shlex.split(rpc)
name = parts.pop(0)
args = dict()