diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 index f94e7e9c18..e5d340ae7c 100644 --- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 +++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 @@ -711,6 +711,12 @@ if __name__ == '__main__': watchers=pagure_namespace_to_cc[namespace][name], )) + # Filter out any modules, since we don't have rights to create new + # components in the "Fedora Modules" project yet + pagure_projects = [ + p for p in pagure_projects if p['namespace'] != 'modules' + ] + branches_url = PDCURL.split('rest_api')[0] + 'extras/active_branches.json' if DEBUG: print("Querying %r for EOL information." % branches_url)