Commit 890ef0ce authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

gitlab may not have open_issues_count

parent 72a32712
Pipeline #9677 passed with stage
in 3 minutes and 5 seconds
......@@ -1027,6 +1027,7 @@ def update_gitlab(forge, data):
repo.url = data['web_url']
repo.repo_id = data['id']
repo.clone_url = data['http_url_to_repo']
if 'open_issues_count' in data:
repo.open_issues = data['open_issues_count']
repo.default_branch = data['default_branch']
repo.description = data['description']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment