)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"579d70bdb160acace46358fef6e2b1b4bb4b17cd","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Gary Kotton \u003cgkotton@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2012-12-09 06:33:13 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Preveny unnecessary database read by l3 agent"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Fixes bug 1088129"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"AAAAMX%2F%2F5qs%3D","line":7,"updated":"2012-12-09 06:59:07.000000000","message":"I guess it should be \u0027prevent\u0027","commit_id":"d00a0b56c833e8bfddd68554b1b6181c1d833d61"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Gary Kotton \u003cgkotton@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2012-12-09 06:33:13 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Preveny unnecessary database read by l3 agent"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Fixes bug 1088129"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"AAAAMX%2F%2F5qA%3D","line":7,"in_reply_to":"AAAAMX%2F%2F5qs%3D","updated":"2012-12-09 07:28:39.000000000","message":"Correct. My bad","commit_id":"d00a0b56c833e8bfddd68554b1b6181c1d833d61"}],"quantum/db/l3_db.py":[{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"579d70bdb160acace46358fef6e2b1b4bb4b17cd","unresolved":false,"context_lines":[{"line_number":857,"context_line":"            if len(fixed_ips) \u003e 1:"},{"line_number":858,"context_line":"                LOG.error(_(\"Ignoring multiple IPs on router port %s\") %"},{"line_number":859,"context_line":"                          port[\u0027id\u0027])"},{"line_number":860,"context_line":"                ports.remove(port)"},{"line_number":861,"context_line":"                continue"},{"line_number":862,"context_line":"            # Empty fixed_ips should not happen"},{"line_number":863,"context_line":"            fixed_ip \u003d fixed_ips[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAMX%2F%2F5q4%3D","line":860,"updated":"2012-12-09 06:59:07.000000000","message":"We shoudn\u0027t delete element when iterate a list.","commit_id":"d00a0b56c833e8bfddd68554b1b6181c1d833d61"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"unresolved":false,"context_lines":[{"line_number":857,"context_line":"            if len(fixed_ips) \u003e 1:"},{"line_number":858,"context_line":"                LOG.error(_(\"Ignoring multiple IPs on router port %s\") %"},{"line_number":859,"context_line":"                          port[\u0027id\u0027])"},{"line_number":860,"context_line":"                ports.remove(port)"},{"line_number":861,"context_line":"                continue"},{"line_number":862,"context_line":"            # Empty fixed_ips should not happen"},{"line_number":863,"context_line":"            fixed_ip \u003d fixed_ips[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAMX%2F%2F5pk%3D","line":860,"in_reply_to":"AAAAMX%2F%2F5p8%3D","updated":"2012-12-09 07:31:15.000000000","message":"Alex: Is there a problem with doing it in the loop?","commit_id":"d00a0b56c833e8bfddd68554b1b6181c1d833d61"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"579d70bdb160acace46358fef6e2b1b4bb4b17cd","unresolved":false,"context_lines":[{"line_number":857,"context_line":"            if len(fixed_ips) \u003e 1:"},{"line_number":858,"context_line":"                LOG.error(_(\"Ignoring multiple IPs on router port %s\") %"},{"line_number":859,"context_line":"                          port[\u0027id\u0027])"},{"line_number":860,"context_line":"                ports.remove(port)"},{"line_number":861,"context_line":"                continue"},{"line_number":862,"context_line":"            # Empty fixed_ips should not happen"},{"line_number":863,"context_line":"            fixed_ip \u003d fixed_ips[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAMX%2F%2F5o0%3D","line":860,"in_reply_to":"AAAAMX%2F%2F5p8%3D","updated":"2012-12-09 07:48:51.000000000","message":"garyk, ok, got it.I can file a bug for this. Thanks.","commit_id":"d00a0b56c833e8bfddd68554b1b6181c1d833d61"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"579d70bdb160acace46358fef6e2b1b4bb4b17cd","unresolved":false,"context_lines":[{"line_number":857,"context_line":"            if len(fixed_ips) \u003e 1:"},{"line_number":858,"context_line":"                LOG.error(_(\"Ignoring multiple IPs on router port %s\") %"},{"line_number":859,"context_line":"                          port[\u0027id\u0027])"},{"line_number":860,"context_line":"                ports.remove(port)"},{"line_number":861,"context_line":"                continue"},{"line_number":862,"context_line":"            # Empty fixed_ips should not happen"},{"line_number":863,"context_line":"            fixed_ip \u003d fixed_ips[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAMX%2F%2F5o4%3D","line":860,"in_reply_to":"AAAAMX%2F%2F5pk%3D","updated":"2012-12-09 07:48:51.000000000","message":"gongysh, Yes, you can do simple test.\n\u003e\u003e\u003e l \u003d [{\u0027k\u0027:1},{\u0027k\u0027:2},{\u0027k\u0027:3},{\u0027k\u0027:4}]\n\u003e\u003e\u003e for i in l:\n...     print i\n...     if i[\u0027k\u0027] \u003d\u003d 2:\n...         l.remove(i)\n... \n{\u0027k\u0027: 1}\n{\u0027k\u0027: 2}\n{\u0027k\u0027: 4}\n\nThanks, Alex","commit_id":"d00a0b56c833e8bfddd68554b1b6181c1d833d61"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":857,"context_line":"            if len(fixed_ips) \u003e 1:"},{"line_number":858,"context_line":"                LOG.error(_(\"Ignoring multiple IPs on router port %s\") %"},{"line_number":859,"context_line":"                          port[\u0027id\u0027])"},{"line_number":860,"context_line":"                ports.remove(port)"},{"line_number":861,"context_line":"                continue"},{"line_number":862,"context_line":"            # Empty fixed_ips should not happen"},{"line_number":863,"context_line":"            fixed_ip \u003d fixed_ips[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAMX%2F%2F5p8%3D","line":860,"in_reply_to":"AAAAMX%2F%2F5q4%3D","updated":"2012-12-09 07:28:39.000000000","message":"I would prefer not to do this as part of the patch. It is not related. It shold be a separate issue.","commit_id":"d00a0b56c833e8bfddd68554b1b6181c1d833d61"}]}
