Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mavproxy.py: strip enclosing quotes from parsed shlex results #1378

Merged
merged 1 commit into from
May 9, 2024

Conversation

peterbarker
Copy link
Contributor

A command-line of kml load "/home/pbarker/e0/sypaq/carbonix-flying-sites/Carbonix Flight Areas.kmz" gets turned into a 3-element list.

Past this PR the last element will not be enclosed in quotes, which means that modules don't need to do their own quote-stripping

A command-line of kml load "/home/pbarker/e0/sypaq/carbonix-flying-sites/Carbonix Flight Areas.kmz" gets turned into a 3-element list.

Past this PR the last element will not be enclosed in quotes, which means that modules don't need to do their own quote-stripping
@tridge
Copy link
Contributor

tridge commented May 9, 2024

i suspect this will break some things, but worth trying, its been annoying for a while

@tridge tridge merged commit f4c0172 into ArduPilot:master May 9, 2024
2 checks passed
@peterbarker peterbarker deleted the pr/strip-quotes branch May 15, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants