only exclude modules in staging, they exist in prod

This commit is contained in:
Kevin Fenzi
2018-01-08 20:41:15 +00:00
parent b750d1e773
commit c625021c45

View File

@@ -725,12 +725,13 @@ if __name__ == '__main__':
poc=poc,
watchers=pagure_namespace_to_cc[namespace][name],
))
{% if env == 'staging' %}
# 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'
]
{% endif %}
branches_url = PDCURL.split('rest_api')[0] + 'extras/active_branches.json'
if VERBOSE: