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

Version parsing from gpg on windows fails, given a '\r' line end output instead of '\n' from gpg.exe #267

Open
salvadorparra opened this issue Oct 16, 2019 · 0 comments

Comments

@salvadorparra
Copy link

salvadorparra commented Oct 16, 2019

self.binary_version = version_line.split('\n')[0]

While trying to implement on windows 10, _VERSION_RE does not match because gpg subprocess outputs '2.2.17\r'. May version_line.splitlines()[0] be used instead?

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

No branches or pull requests

1 participant