Skip to content

py3: subprocess with universal_newlines=True #764

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

Merged

Conversation

peterjc
Copy link
Contributor

@peterjc peterjc commented Feb 5, 2018

This is a simple way to ensure we get a string back (and not bytes) under Python 3, intended to solve #763 where the output is used directly in XML output.

This is a simple way to ensure we get a string back
(and not bytes) under Python 3.
@peterjc peterjc requested a review from jmchilton February 5, 2018 14:20
@jmchilton jmchilton merged commit 4765624 into galaxyproject:master Feb 5, 2018
@jmchilton
Copy link
Member

Awesome - thanks for the fix @peterjc !

@peterjc peterjc deleted the subprocess_universal_newlines branch February 5, 2018 15:06
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