[util] support integer values for '…-range' options (#8604)

This commit is contained in:
Mike Fährmann
2025-12-08 10:32:46 +01:00
parent 2ab74dfbf1
commit 826b557f6d
2 changed files with 9 additions and 0 deletions

View File

@@ -1011,6 +1011,8 @@ class RangePredicate():
if isinstance(rangespec, str):
rangespec = rangespec.split(",")
elif isinstance(rangespec, int):
rangespec = (str(rangespec),)
for group in rangespec:
if not group: