mirror of
https://github.com/isjerryxiao/pacroller.git
synced 2024-11-25 17:20:41 +08:00
fix a dumb error
This commit is contained in:
parent
09404979b0
commit
606b6b5d7a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def sync() -> None:
|
||||||
raise
|
raise
|
||||||
except subprocess.TimeoutExpired as e:
|
except subprocess.TimeoutExpired as e:
|
||||||
logger.warning('database download timeout {e.timeout=} {e.output=}')
|
logger.warning('database download timeout {e.timeout=} {e.output=}')
|
||||||
if PACMAN_DB_LCK.exists():
|
if Path(PACMAN_DB_LCK).exists():
|
||||||
logger.warning(f'automatically removing {PACMAN_DB_LCK}')
|
logger.warning(f'automatically removing {PACMAN_DB_LCK}')
|
||||||
Path(PACMAN_DB_LCK).unlink()
|
Path(PACMAN_DB_LCK).unlink()
|
||||||
raise SyncRetry()
|
raise SyncRetry()
|
||||||
|
|
Loading…
Reference in a new issue