Variable spelling issue

This commit is contained in:
Anton Hvornum 2022-12-22 12:58:19 +01:00
parent 2ae88aec77
commit bb5a4c1644
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ def all_disks() -> List[BlockDevice]:
def get_blockdevice_info(device_path, exclude_iso_dev :bool = True) -> Dict[str, Any]:
for retry_attempt in range(storage['DISK_RETRY_ATTEMPTS']):
partprobe(device_path)
time.sleep(max(0.1, storage['DISK_TIMEOUTS'] * i)) # TODO: Remove, we should be relying on blkid instead of lsblk
time.sleep(max(0.1, storage['DISK_TIMEOUTS'] * retry_attempt)) # TODO: Remove, we should be relying on blkid instead of lsblk
try:
if exclude_iso_dev: