Switch to side-by-side view
--- a/Allura/allura/tasks/repo_tasks.py +++ b/Allura/allura/tasks/repo_tasks.py @@ -44,6 +44,8 @@ M.MergeRequest.query.remove(dict( app_config_id=c.app.config._id)) super(RepositoryApp, c.app).uninstall(c.project) + from ming.orm import ThreadLocalORMSession + ThreadLocalORMSession.flush_all() @task def nop():