Merge branch 'cassandra-4.0' into cassandra-4.1

This commit is contained in:
Brandon Williams 2023-01-30 15:49:30 -06:00
commit a479989020
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):