Files
beets/test
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-06-14 19:08:27 -04:00
2017-06-15 08:59:43 +02:00
2017-06-20 15:56:33 -04:00
2017-10-07 21:28:33 -07:00
2017-06-02 16:27:49 +01:00
2017-06-20 15:56:33 -04:00
2017-03-03 12:10:26 -06:00
2016-12-26 14:13:01 -06:00