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:
parent
edd199af3b
commit
cf35fb441f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user