beets/beets
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
..
autotag Some more clarity in comments for #2294 2017-06-10 20:52:52 -04:00
dbcore Merge pull request #2668 from wordofglass/edit_logic 2017-08-25 15:52:40 +02:00
ui Implement album merging for duplicates 2017-11-01 02:00:48 +05:30
util Shortened two lines that where to long. 2017-09-11 17:29:57 +02:00
__init__.py Version bump: 1.4.6 2017-06-20 14:49:19 -04:00
__main__.py Simpler __main__ docstring (#2453) 2017-02-25 13:39:14 -05:00
art.py images: use jpg extensions for jpeg files everywhere 2016-11-08 18:48:44 +01:00
config_default.yaml implemented set_field cli parsing 2017-05-30 16:15:28 +02:00
importer.py flake8 fixes 2017-11-05 12:35:32 +05:30
library.py Shortened two lines that where to long. 2017-09-11 17:29:57 +02:00
logging.py s/utf8/utf-8/ in all encoding/decoding contexts 2016-09-06 23:10:24 -04:00
mediafile.py mediafile._safe_cast: be safer when converting to int 2017-11-19 09:21:07 +01:00
plugins.py Remove untyped except statements 2017-04-29 00:05:20 +02:00
vfs.py Standardize __future__ imports without parentheses 2016-02-28 15:03:51 -08:00