mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-02 09:46:16 +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']
|
days = opts.days or conf.config['request_list_days']
|
||||||
since = ''
|
since = ''
|
||||||
try:
|
try:
|
||||||
days = int(days)
|
days = float(days)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
days = 0
|
days = 0
|
||||||
if days > 0:
|
if days > 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user