Repository navigation
Commit 44968c5
committed
chore: remove dead normalize_url definitions from utils
Two unreachable functions in utils.py:
- The first `normalize_url` (plain urljoin wrapper) was silently shadowed
by the extended `normalize_url` defined ~20 lines later. Python last-write
wins, so the first definition was never callable.
- `normalize_url_tmp` was a hand-rolled URL joiner (string split on "/")
with no callers outside utils.py itself. `urllib.parse.urljoin` already
covers this correctly.1 parent 6a181da commit 44968c5
1 file changed
Lines changed: 0 additions & 54 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2212 | 2212 | | |
2213 | 2213 | | |
2214 | 2214 | | |
2215 | | - | |
2216 | | - | |
2217 | | - | |
2218 | | - | |
2219 | | - | |
2220 | | - | |
2221 | | - | |
2222 | | - | |
2223 | | - | |
2224 | | - | |
2225 | | - | |
2226 | | - | |
2227 | | - | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
2231 | | - | |
2232 | | - | |
2233 | | - | |
2234 | 2215 | | |
2235 | 2216 | | |
2236 | 2217 | | |
| |||
2431 | 2412 | | |
2432 | 2413 | | |
2433 | 2414 | | |
2434 | | - | |
2435 | | - | |
2436 | | - | |
2437 | | - | |
2438 | | - | |
2439 | | - | |
2440 | | - | |
2441 | | - | |
2442 | | - | |
2443 | | - | |
2444 | | - | |
2445 | | - | |
2446 | | - | |
2447 | | - | |
2448 | | - | |
2449 | | - | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
2455 | | - | |
2456 | | - | |
2457 | | - | |
2458 | | - | |
2459 | | - | |
2460 | | - | |
2461 | | - | |
2462 | | - | |
2463 | | - | |
2464 | | - | |
2465 | | - | |
2466 | | - | |
2467 | | - | |
2468 | | - | |
2469 | 2415 | | |
2470 | 2416 | | |
2471 | 2417 | | |
| |||
0 commit comments