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

Bug 1758000: decode repo.root to str before passing to Path #19

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

cgsheeh
Copy link
Member

@cgsheeh cgsheeh commented Mar 18, 2022

pathlib doesn't work with bytes paths, so we need to decode
repo.root before creating the Path object.

While we are here, update the docstring to reflect the new
behaviour of the function and use the correct %d string
formatting operator.

`pathlib` doesn't work with bytes paths, so we need to decode
`repo.root` before creating the `Path` object.

While we are here, update the docstring to reflect the new
behaviour of the function and use the correct `%d` string
formatting operator.
@cgsheeh cgsheeh requested a review from zzzeid March 18, 2022 17:09
@cgsheeh
Copy link
Member Author

cgsheeh commented Mar 18, 2022

Maybe we should add simple smoke-test for differentiator to v-c-t? Would have made finding this much bug easier. We'd have to mock out conduit but that shouldn't be too difficult and we have prior art for mocking external services.

Either way I'm hopeful this is the last differentiator change we need for some time.

@cgsheeh cgsheeh merged commit b41f12e into mozilla-conduit:master Mar 22, 2022
@cgsheeh cgsheeh deleted the differentiator-bytes-path branch March 22, 2022 16:38
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