Fixed linting issue

This commit is contained in:
Anton Hvornum 2021-11-10 11:40:47 +00:00 committed by GitHub
parent 671c7b3854
commit faadc2b968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class BlockDevice:
else:
log(f"uuid {uuid} not found. Waiting for {count +1} time",level=logging.DEBUG)
time.sleep(float(storage['arguments'].get('disk-sleep', 0.2)))
count +=1
count += 1
else:
log(f"Could not find {uuid} in disk after 5 retries",level=logging.INFO)
raise DiskError(f"New partition {uuid} never showed up after adding new partition on {self}")