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

fix 'list --json-lines' command when only a single result line is out… #910

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

rblenis
Copy link
Contributor

@rblenis rblenis commented Mar 2, 2021

if only a single line of output comes from borg --json-lines, then the default processing will already have converted it to a dict, whereas if multiple lines are output, it leaves it as a string and lets the command specific code deal with it. This fixes the immediate problem of handling it in the 'list --json-lines' command, but will need to handle in the 'diff --json-lines' option when added to borg.

m3nu
m3nu previously approved these changes Mar 4, 2021
@m3nu
Copy link
Contributor

m3nu commented Mar 4, 2021

I'll merge this next week, since the Debian guys asked me to do a feature freeze until Mar 10.

@m3nu m3nu merged commit 08797ab into borgbase:master Mar 12, 2021
@m3nu
Copy link
Contributor

m3nu commented Mar 12, 2021

Thanks for the addition! 🙏

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