Files
beets/docs
Sebastian Reuße c40ea4f22a mediafile._safe_cast: be safer when converting to int
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.
2017-11-19 09:21:07 +01:00
..
2017-02-19 15:56:13 -06:00
2017-11-01 08:06:30 +01:00
2017-06-20 14:49:19 -04:00
2016-12-16 21:56:46 -05:00
2016-12-16 21:56:46 -05:00
2016-01-25 13:19:26 -08:00