Don't ask for forks when querying pagure
Fixes https://pagure.io/pagure-dist-git/issue/38 Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
8c1044b842
commit
159faf73a0
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ project_to_email = {}
|
|||
|
||||
|
||||
def get_pagure_projects():
|
||||
pagure_projects_url = pagure_url + '/api/0/projects?page=1&per_page=100'
|
||||
pagure_projects_url = pagure_url +
|
||||
'/api/0/projects?page=1&per_page=100&fork=false'
|
||||
session = retry_session()
|
||||
while pagure_projects_url:
|
||||
response = session.get(pagure_projects_url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue