Commit a975006
authored
refactor: Use url_to_path() from pip._internal.index.collector (#13497)
Use pip's `url_to_path()` utility function rather than Python's
`urllib.request.url2pathname()` in `pip._internal.index.collector`. This
makes pip's internal handling of file URLs slightly more consistent, but
shouldn't have any user-facing effect.1 parent d276f3f commit a975006
File tree
2 files changed
+2
-3
lines changed- news
- src/pip/_internal/index
2 files changed
+2
-3
lines changedWhitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | | - | |
| 333 | + | |
335 | 334 | | |
336 | 335 | | |
337 | 336 | | |
| |||
0 commit comments