Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
189824dd
Commit
189824dd
authored
Jul 30, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove whitespace around args
Fixes #8343
parent
f61ba3d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
lib/ansible/module_utils/splitter.py
+1
-0
lib/ansible/utils/__init__.py
+1
-1
No files found.
lib/ansible/module_utils/splitter.py
View file @
189824dd
...
...
@@ -70,6 +70,7 @@ def split_args(args):
# here we encode the args, so we have a uniform charset to
# work with, and split on white space
args
=
args
.
strip
()
try
:
args
=
args
.
encode
(
'utf-8'
)
do_decode
=
True
...
...
lib/ansible/utils/__init__.py
View file @
189824dd
...
...
@@ -707,7 +707,7 @@ def parse_kv(args):
for
x
in
vargs
:
if
"="
in
x
:
k
,
v
=
x
.
split
(
"="
,
1
)
options
[
k
]
=
unquote
(
v
)
options
[
k
]
=
unquote
(
v
.
strip
()
)
return
options
def
merge_hash
(
a
,
b
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment