)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"c1aa10e1e2e2fbc0b180ff61927bc9d1808cab28","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix a bug in bind_port()"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"It should return to jump out of the for loop"},{"line_number":10,"context_line":"when set_binding in bind_port()"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I4939d911b48069ea925736b67dee1fbb01c3bf2a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7f231b9d_e8be30ac","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":31},"updated":"2017-06-19 09:03:26.000000000","message":"Would be nice to have a bit more information about why instead of just saying that it should return. Basically, we only need to bind the first valid segment, correct ?","commit_id":"ba853fc714a09da6f1fd32c11a5ebe46d5a8f141"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"c1aa10e1e2e2fbc0b180ff61927bc9d1808cab28","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"It should return to jump out of the for loop"},{"line_number":10,"context_line":"when set_binding in bind_port()"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I4939d911b48069ea925736b67dee1fbb01c3bf2a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7f231b9d_28af882a","line":11,"updated":"2017-06-19 09:03:26.000000000","message":"We have any bug # opened for this problem ? If so, please tag it here as:\n\nCloses-Bug: #\u003cbug-id\u003e","commit_id":"ba853fc714a09da6f1fd32c11a5ebe46d5a8f141"}],"networking_ovn/ml2/mech_driver.py":[{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"ad03064fb19efcf58e29762ae7fec40d58bb0e96","unresolved":false,"context_lines":[{"line_number":582,"context_line":""},{"line_number":583,"context_line":"                context.set_binding(segment_to_bind[api.ID], vif_type,"},{"line_number":584,"context_line":"                                    vif_details)"},{"line_number":585,"context_line":"                return"},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"    def get_workers(self):"},{"line_number":588,"context_line":"        \"\"\"Get any worker instances that should have their own process"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_5c3ccedf","line":585,"range":{"start_line":585,"start_character":16,"end_line":585,"end_character":22},"updated":"2017-06-19 06:47:14.000000000","message":"this `return` can be acceptable here because `return` was used multiple times above, but to jump out of a loop, `break` should be chosen\n\nand after that, `return` and `return None` or not `return` is the same for a function/method","commit_id":"e18e3eb5987df11196c8168866b3d82db7e48482"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"a08760afd859d0b08f5711782cd0bf33f6e19df4","unresolved":false,"context_lines":[{"line_number":582,"context_line":""},{"line_number":583,"context_line":"                context.set_binding(segment_to_bind[api.ID], vif_type,"},{"line_number":584,"context_line":"                                    vif_details)"},{"line_number":585,"context_line":"                return"},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"    def get_workers(self):"},{"line_number":588,"context_line":"        \"\"\"Get any worker instances that should have their own process"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_525dd576","line":585,"range":{"start_line":585,"start_character":16,"end_line":585,"end_character":22},"in_reply_to":"7f231b9d_5c3ccedf","updated":"2017-06-19 07:48:53.000000000","message":"+1","commit_id":"e18e3eb5987df11196c8168866b3d82db7e48482"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"c1aa10e1e2e2fbc0b180ff61927bc9d1808cab28","unresolved":false,"context_lines":[{"line_number":583,"context_line":"                context.set_binding(segment_to_bind[api.ID], vif_type,"},{"line_number":584,"context_line":"                                    vif_details)"},{"line_number":585,"context_line":"                break"},{"line_number":586,"context_line":"        return"},{"line_number":587,"context_line":""},{"line_number":588,"context_line":"    def get_workers(self):"},{"line_number":589,"context_line":"        \"\"\"Get any worker instances that should have their own process"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f231b9d_28e4280c","line":586,"range":{"start_line":586,"start_character":0,"end_line":586,"end_character":14},"updated":"2017-06-19 09:03:26.000000000","message":"This return is not needed, the function will return None already after it reaches the end of execution body","commit_id":"ba853fc714a09da6f1fd32c11a5ebe46d5a8f141"}]}
