commit fixes

This commit is contained in:
yash-dk 2020-09-12 22:51:20 +05:30
parent aa498882f8
commit 4041f417f4

View File

@ -107,11 +107,12 @@ def retry_range(retries, force_retry=True):
if retries == 0 and force_retry:
yield 1
# If retries are non 0 then itetrate
# If retries are non 0 then iterate
attempt = 0
while attempt != retries:
yield 1 + attempt
attempt += 1
yield attempt
async def _maybe_await(value):