This is a fix for an issue introduced by [1] - there's some functionality that uses these values (e.g. pagure.lib.tasks.create_project), so we need to set them to None as default, otherwise this functionality gets broken.
pagure.lib.tasks.create_project
None
[1] https://pagure.io/pagure/c/adea204dd0e86891d7e015ef05e57dae4ec5c3f9?branch=master
Thoughts about changing the code?
Unfortunately I don't have time for that ATM, so I though I'd provide this as an easy fix right now. We can get back to fixing the code to use the ENABLE_* values later.
ENABLE_*
The first commit in https://pagure.io/pagure/pull-request/3073 tries to fix the code, what do you think?
I think it looks ok, I'll close this PR.
Pull-Request has been closed by bkabrda
This is a fix for an issue introduced by [1] - there's some functionality that uses these values (e.g.
pagure.lib.tasks.create_project), so we need to set them toNoneas default, otherwise this functionality gets broken.[1] https://pagure.io/pagure/c/adea204dd0e86891d7e015ef05e57dae4ec5c3f9?branch=master