#4396 Fix deleting a project if creation failed
Merged by pingou. Opened by pingou.
fix_creation  into  master

Download 4396.patch

Basically, if a project fails to be created we want to have it
removed from the DB. So far, we only reverted and removed the
project from the DB if the repositories were found on disk. With
this commit, we'll remove the project from the DB for any
exception raised.

Fixes https://pagure.io/pagure/issue/4384

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Tested already "live" (reported in that ticket) so +1 from me :)

\ó/
Let's wait for jenkins and get this in :)

pretty please pagure-ci rebuild

Pull-Request has been merged by pingou

Metadata