Fixes #2308
We need to make sure to call db_object() on the hook so that we can access the rtd_hook attribute.
This PR also fixes some issues coming from the re architecture.
Let's create the session within the function so we can close it at the end
2 new commits added
Missing closing session?
I closed it at the end of the function https://pagure.io/pagure/pull-request/2981#_2,39
Seeing the next line, I doubt we reach the one you're referring to ;-)
:)
rebased onto 40d2e3e026ee6b016bb7f961c0ea38bd77e31db2
Thanks!
Pull-Request has been merged by pingou
Fixes #2308
We need to make sure to call db_object() on the hook so that we can access the rtd_hook attribute.
This PR also fixes some issues coming from the re architecture.