The decorator to add support for JSONP doesn't seem to handle this endpoint, so we just remove it and added back JSONP support manually.
Fixes https://pagure.io/mdapi/issue/55
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
2 new commits added
This seems to be a repeat commit from another pull request. You might want to rebase this branch so it only contains the intended commit.
It would be good to document what doesn't work.
I recommend adding test coverage here. Test coverage would probably have helped detect the problem with the jsonp decorator, and can ensure the the function continues to work in the future.
LGTM.
I am not entirely sure what doesn't work I think it's to due with asyncio and coroutines, somehow this is returning an object instead of a generator.
I will add a note about this
This PR is based on the other one, once I merge the other one, this commit will be gone from this PR :)
rebased
Thanks for your review.
Pull-Request has been merged by pingou
The decorator to add support for JSONP doesn't seem to handle this
endpoint, so we just remove it and added back JSONP support manually.
Fixes https://pagure.io/mdapi/issue/55
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr