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
3705d544
Commit
3705d544
authored
Oct 01, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed error reporting on splitter
parent
de2f62bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
lib/ansible/parsing/splitter.py
+3
-1
No files found.
lib/ansible/parsing/splitter.py
View file @
3705d544
...
...
@@ -22,6 +22,8 @@ __metaclass__ = type
import
re
import
codecs
from
ansible.errors
import
AnsibleError
# Decode escapes adapted from rspeer's answer here:
# http://stackoverflow.com/questions/4020539/process-escape-sequences-in-a-string-in-python
_HEXCHAR
=
'[a-fA-F0-9]'
...
...
@@ -57,7 +59,7 @@ def parse_kv(args, check_raw=False):
vargs
=
split_args
(
args
)
except
ValueError
as
ve
:
if
'no closing quotation'
in
str
(
ve
)
.
lower
():
raise
errors
.
AnsibleError
(
"error parsing argument string, try quoting the entire line."
)
raise
AnsibleError
(
"error parsing argument string, try quoting the entire line."
)
else
:
raise
...
...
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