)]}'
{"mistral/api/controllers/v2/execution.py":[{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"ab4676db72242d3303ac542d31d4ca9836aa4088","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        acl.enforce(\u0027executions:delete\u0027, context.ctx())"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        LOG.info(\"Delete execution [id\u003d%s]\", id)"},{"line_number":222,"context_line":"        execution \u003d db_api.get_workflow_execution(id)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        if not states.is_completed(execution.state):"},{"line_number":225,"context_line":"            raise exc.NotAllowedException(\"Only completed execution can\""},{"line_number":226,"context_line":"                                          \" be deleted.\")"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        return db_api.delete_workflow_execution(id)"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"    @rest_utils.wrap_wsme_controller_exception"},{"line_number":231,"context_line":"    @wsme_pecan.wsexpose(resources.Executions, types.uuid, int,"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_b4dfc038","line":228,"range":{"start_line":222,"start_character":8,"end_line":228,"end_character":51},"updated":"2016-11-18 07:30:07.000000000","message":"These two DB operations must be in the same transaction.","commit_id":"e4c0e416d021053d0c7ce7c39dac05018901e44c"}]}
