fix: clone repo

This commit is contained in:
张泊明518370910136 2021-11-03 15:00:34 +08:00
parent ca46377ec0
commit 18bfc4d6f7
No known key found for this signature in database
GPG Key ID: FBEF5DE8B9F4C629

View File

@ -41,6 +41,7 @@ class Git:
repo_dir, repo_dir,
branch=branch, branch=branch,
) )
retry_interval = 0
except GitCommandError as e: except GitCommandError as e:
if "Connection refused" in e.stderr or "Connection reset" in e.stderr: if "Connection refused" in e.stderr or "Connection reset" in e.stderr:
logger.warning( logger.warning(