)]}'
{"neutron/plugins/ml2/plugin.py":[{"author":{"_account_id":17711,"name":"Margaret Frances","email":"margaret_frances@cable.comcast.com","username":"margaret-frances"},"change_message_id":"bd5bab8e0c044a0559de2ae2dd56600fd11f4197","unresolved":false,"context_lines":[{"line_number":423,"context_line":"                # Call the mechanism driver precommit methods, commit"},{"line_number":424,"context_line":"                # the results, and call the postcommit methods."},{"line_number":425,"context_line":"                self.mechanism_manager.update_port_precommit(cur_context)"},{"line_number":426,"context_line":"                self.mechanism_manager.update_port_postcommit(cur_context)"},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"        # Continue, using the port state as of the transaction that"},{"line_number":429,"context_line":"        # just finished, whether that transaction committed new"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_8825a3af","line":426,"updated":"2015-09-21 11:44:42.000000000","message":"I guess I can add this too, to speed things up more:\n\n    https://github.com/openstack/oslo.db/blob/master/oslo_db/sqlalchemy/utils.py","commit_id":"d1f394d7d3c7aed87b8b9ec418c29261259cae9f"},{"author":{"_account_id":17711,"name":"Margaret Frances","email":"margaret_frances@cable.comcast.com","username":"margaret-frances"},"change_message_id":"31b2eb978ab26e63ee64f95ea9db61b9fe8920aa","unresolved":false,"context_lines":[{"line_number":423,"context_line":"                # Call the mechanism driver precommit methods, commit"},{"line_number":424,"context_line":"                # the results, and call the postcommit methods."},{"line_number":425,"context_line":"                self.mechanism_manager.update_port_precommit(cur_context)"},{"line_number":426,"context_line":"                self.mechanism_manager.update_port_postcommit(cur_context)"},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"        # Continue, using the port state as of the transaction that"},{"line_number":429,"context_line":"        # just finished, whether that transaction committed new"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_bd9227f5","line":426,"updated":"2015-09-21 11:40:00.000000000","message":"To see why the original code is correct, see the\n\n    NonCommittingTransaction class in oslo_db/sqlalchemy/utils.py\n\nalong with\n\n    https://docs.python.org/2/reference/compound_stmts.html#the-with-statement \n\nor (imo the easier to understand) \n\n    http://effbot.org/zone/python-with-statement.htm.\n\n(Btw, I\u0027m not completely sure that it\u0027s the NonCommittingTransaction class that\u0027s at play here.  I traced the code back to (I think) somewhere near here before I got completely confused and gave up.  But if it\u0027s not this class, it\u0027s something like it in terms of the db commit happening in the __exit__ method.)","commit_id":"d1f394d7d3c7aed87b8b9ec418c29261259cae9f"},{"author":{"_account_id":16053,"name":"Pengtao Huang","email":"huangpengtao@huawei.com","username":"huangpengtao"},"change_message_id":"fa955093dac26649c9bfaaa010dec98e48e594e9","unresolved":false,"context_lines":[{"line_number":423,"context_line":"                # Call the mechanism driver precommit methods, commit"},{"line_number":424,"context_line":"                # the results, and call the postcommit methods."},{"line_number":425,"context_line":"                self.mechanism_manager.update_port_precommit(cur_context)"},{"line_number":426,"context_line":"                self.mechanism_manager.update_port_postcommit(cur_context)"},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"        # Continue, using the port state as of the transaction that"},{"line_number":429,"context_line":"        # just finished, whether that transaction committed new"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba15a1d1_885da3ee","line":426,"in_reply_to":"ba15a1d1_bd9227f5","updated":"2015-09-21 11:53:47.000000000","message":"maybe you are write,I will close the patch.","commit_id":"d1f394d7d3c7aed87b8b9ec418c29261259cae9f"}]}
