update_manager: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan
2023-10-07 10:36:49 -04:00
parent 6f6f535d6a
commit d721ec5d9c
3 changed files with 4 additions and 3 deletions

View File

@@ -1259,7 +1259,8 @@ class GitRepo:
# since the attept to repair failed, bypass retries
# and immediately raise an exception
raise self.server.error(
f"Unable to repair loose objects, use hard recovery")
"Unable to repair loose objects, use hard recovery"
)
retries -= 1
await asyncio.sleep(.5)
await self._check_lock_file_exists(remove=True)