logilab-common #88808 No Error/Exception is raised when there is a wrong input in 'textutils.apply_units' [validation pending]
Try with any character which does not correspond to '20s', '30min', '24h' or '3d' (time units example): >>> apply_units('mama', TIME_UNITS) 0.0 | |
priority | normal |
---|---|
type | bug |
done in | 0.57.2 |
load | 0.200 |
load left | 0.000 |
closed by | #5b8c202bdc12 Fix bug in textutils.apply_units, raise an Exception if string does not match (closes #88808). |