1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

- do_request: support float values for --days (affects list)

This commit is contained in:
Marcus Huewe 2014-01-14 11:04:04 +01:00
parent edd199af3b
commit cf35fb441f

View File

@ -2137,7 +2137,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
days = opts.days or conf.config['request_list_days']
since = ''
try:
days = int(days)
days = float(days)
except ValueError:
days = 0
if days > 0: