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

Using more specific regex in _resolved_interpreter(). #119

Merged
merged 1 commit into from Aug 26, 2018

Conversation

dhermes
Copy link
Collaborator

@dhermes dhermes commented Aug 24, 2018

No description provided.

parts = parts[:2]

self.interpreter = "python{}".format(".".join(parts))
self.interpreter = "python{}".format(match.group("xy_ver"))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@theacodes I can save

xy_version = match.group("xy_ver")

and then re-use it in the call to locate_via_py at line 131. Does that make the code too hard to read?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

OK turns out this is relevant for #100, so I'll just address it there and use this PR as a diffbase

@theacodes theacodes merged commit 32dbdd0 into wntrblm:master Aug 26, 2018
@dhermes dhermes deleted the better-version-regex branch August 26, 2018 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants