)]}'
{"networking_ovn/ml2/trunk_driver.py":[{"author":{"_account_id":11952,"name":"Flavio Fernandes","email":"flavio@flaviof.com","username":"ffernand"},"change_message_id":"dc5aedb897aafc8c85bec3909bace24822fb2814","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def _set_sub_ports(self, parent_port, subports):"},{"line_number":45,"context_line":"        txn \u003d self.plugin_driver._nb_ovn.transaction"},{"line_number":46,"context_line":"        context \u003d n_context.get_admin_context()"},{"line_number":47,"context_line":"        for port in subports:"},{"line_number":48,"context_line":"            with context.session.begin(subtransactions\u003dTrue), ("},{"line_number":49,"context_line":"                    txn(check_error\u003dTrue)) as ovn_txn:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_01aff2e2","line":46,"range":{"start_line":46,"start_character":8,"end_line":46,"end_character":47},"updated":"2019-11-04 18:55:38.000000000","message":"May the context also be moved to the loop below?\nIf not, we once again may be in danger of getting a\nstale context if iterations end up in a db race?","commit_id":"b56b3da2b28b12552682997244f925068dcafa12"}]}
