Merge branch 'cassandra-4.1' into trunk

This commit is contained in:
Brandon Williams 2023-01-30 15:49:40 -06:00
commit 9ec90d0e69
1 changed files with 3 additions and 1 deletions

View File

@ -47,8 +47,10 @@ def batched(iterable, n):
if n < 1:
raise ValueError('n must be at least one')
it = iter(iterable)
while (batch := tuple(islice(it, n))):
batch = tuple(islice(it, n))
while (batch):
yield batch
batch = tuple(islice(it, n))
# create the documentation directory
if not os.path.exists(outdir):