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

PICARD-1065: Fix patch_version #699

Merged
merged 1 commit into from Apr 10, 2017
Merged

Conversation

samj1912
Copy link
Collaborator

@samj1912 samj1912 commented Apr 10, 2017

@samj1912 samj1912 requested a review from zas April 10, 2017 19:32
setup.py Outdated
@@ -584,7 +584,7 @@ def run(self):

def patch_version(self, filename):
regex = re.compile(r'^PICARD_BUILD_VERSION_STR\s*=.*$', re.MULTILINE)
with open(filename, 'r+b') as f:
Copy link
Collaborator

@zas zas Apr 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing so will possibly change end of lines of the read then written file. Instead if i think we should keep binary mode, but convert source to unicode.

@zas zas merged commit be5e172 into metabrainz:master Apr 10, 2017
@samj1912 samj1912 deleted the picard1065 branch February 9, 2018 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants