Fix a couple of issues with the patch reading overrides from pagure_poc.json

The patch contained a full-bloom syntax error.
It also did not record the POC for every product but Fedora EPEL.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-04-28 10:48:27 +02:00
parent 56c6472266
commit d37f60b474

View file

@ -863,8 +863,11 @@ class DistgitBugzillaSync:
products_retired[product] = False
# Check if the Bugzilla ticket assignee has been manually overridden
if product = "Fedora EPEL":
if product == "Fedora EPEL":
products_poc[product] = project["epelpoc"]
else:
products_poc[product] = owner
project['products_poc'] = products_poc
project["products_retired"] = products_retired