mirror of
https://github.com/beetbox/beets.git
synced 2025-12-08 17:49:11 +01:00
The regex «[\+-]?[0-9]*» possibly matches a single minus/plus, which would then be passed on to int(), raising a ValueError from within _safe_cast. The test suite covered this for float, but not for int. We now make sure we actually have a number after the sign by using a Kleene plus. |
||
|---|---|---|
| .. | ||
| dev | ||
| guides | ||
| plugins | ||
| reference | ||
| changelog.rst | ||
| conf.py | ||
| faq.rst | ||
| index.rst | ||
| Makefile | ||
| serve.py | ||