| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
`\n---` also matches dashed lines inside a package's License (pytest-django), so the block got shredded and indexing died.
| Back | FazBrowse Home | New Git URL |
scip-python index blows up with Unexpected. Thought I should be getting files now if any dependency's License has a dashed line in it. pytest-django from the issue is the repro.
The pip show fallback splits packages on \n---, but pip actually separates them with a line of just ---. So pytest-django's ----... license rules get read as separators, its block gets shredded, and the parser trips on the leftover. Switched to splitting on the real separator line (/\r?\n---\r?\n/); only the fallback path changed. The test uses the two-package output from the issue and fails if you put the old split back.
(A lone --- on its own line in a license would still trip it, but I haven't seen that happen. Can reset the parser on each Name: instead if you'd rather.)
Closes #173