Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

fix bug about getting list of no BROC module and add retry #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

fix bug about getting list of no BROC module and add retry #19

wants to merge 5 commits into from

Conversation

bdliruihao
Copy link
Contributor

fix #4 and add retry

@@ -71,6 +75,7 @@ def load(self):
self._git_repo_domain = conf.get('repo', 'git_repo_domain')
self._svn_postfix_branch = conf.get('repo', 'svn_postfix_branch')
self._svn_postfix_tag = conf.get('repo', 'svn_postfix_tag')
self._retry_time = conf.get('repo', 'retry_time')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这得到的是字符串

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在client/broc下已经转换成int了

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

前面是整型,此处是字符串,不一致,建议使用conf.getint()

@@ -33,15 +33,18 @@ def __init__(self):
self._git_repo_domain = 'https://github.com'
self._svn_postfix_branch = "BRANCH"
self._svn_postfix_tag = "PD_BL"
self._retry_time = 3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处默认的是整型,下面获取到的值又是字符串,前后不一致

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Git拉取代码失败时,被认为没有BROC文件,其实是拉取代码失败
2 participants