)]}'
{"neutron/tests/functional/agent/ovsdb/native/test_connection.py":[{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"73a5f3d54194baee26da172d68eaf557149d7d37","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            (self.ROW_CREATE,), \u0027Bridge\u0027, None)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def matches(self, event, row, old\u003dNone):"},{"line_number":36,"context_line":"        if event not in self.events:"},{"line_number":37,"context_line":"            return False"},{"line_number":38,"context_line":"        if row._table.name !\u003d self.table:"},{"line_number":39,"context_line":"            return False"},{"line_number":40,"context_line":"        if row.name in self.bridges_not_seen:"},{"line_number":41,"context_line":"            self.bridges_not_seen.remove(row.name)"},{"line_number":42,"context_line":"        if self.bridges_not_seen:"},{"line_number":43,"context_line":"            return False"},{"line_number":44,"context_line":"        return True"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def run(self, event, row, old):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_b805ca11","line":43,"range":{"start_line":36,"start_character":8,"end_line":43,"end_character":24},"updated":"2018-11-15 03:22:34.000000000","message":"Can these three returns merge to one?","commit_id":"ab94e947277b175276b3d649e307669d790b9393"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"deb91f500764098ce2706f94a374da26eab9f0a0","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            (self.ROW_CREATE,), \u0027Bridge\u0027, None)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def matches(self, event, row, old\u003dNone):"},{"line_number":36,"context_line":"        if event not in self.events:"},{"line_number":37,"context_line":"            return False"},{"line_number":38,"context_line":"        if row._table.name !\u003d self.table:"},{"line_number":39,"context_line":"            return False"},{"line_number":40,"context_line":"        if row.name in self.bridges_not_seen:"},{"line_number":41,"context_line":"            self.bridges_not_seen.remove(row.name)"},{"line_number":42,"context_line":"        if self.bridges_not_seen:"},{"line_number":43,"context_line":"            return False"},{"line_number":44,"context_line":"        return True"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def run(self, event, row, old):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_8ed1a85d","line":43,"range":{"start_line":36,"start_character":8,"end_line":43,"end_character":24},"in_reply_to":"3f79a3b5_b805ca11","updated":"2018-11-15 08:42:22.000000000","message":"IMO it\u0027s readable like it is now :)","commit_id":"ab94e947277b175276b3d649e307669d790b9393"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"bdff19caa9e2c62bbd95cd6f0f9e1a9991ea9f13","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            (self.ROW_CREATE,), \u0027Bridge\u0027, None)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def matches(self, event, row, old\u003dNone):"},{"line_number":36,"context_line":"        if event not in self.events:"},{"line_number":37,"context_line":"            return False"},{"line_number":38,"context_line":"        if row._table.name !\u003d self.table:"},{"line_number":39,"context_line":"            return False"},{"line_number":40,"context_line":"        if row.name in self.bridges_not_seen:"},{"line_number":41,"context_line":"            self.bridges_not_seen.remove(row.name)"},{"line_number":42,"context_line":"        if self.bridges_not_seen:"},{"line_number":43,"context_line":"            return False"},{"line_number":44,"context_line":"        return True"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def run(self, event, row, old):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_d6239ca8","line":43,"range":{"start_line":36,"start_character":8,"end_line":43,"end_character":24},"in_reply_to":"3f79a3b5_b805ca11","updated":"2018-11-16 18:06:59.000000000","message":"The first two easily could. I don\u0027t think the 3rd can since we can\u0027t be sure there is a row.name if we haven\u0027t already matched table, and we have to take an action based on that to decide whether or not to return false if self.bridges_not_seen isn\u0027t empty.\n\nIf there is a way I\u0027m missing to do all 3, it is probably a little convoluted and would require thinking while reading. :)\n\nThough I should just do self.bridges_not_seen.discard(row.name) instead of checking and removing.","commit_id":"ab94e947277b175276b3d649e307669d790b9393"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ba641630dddfd857388861b31cc3584dc69120c4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        if event not in self.events or row._table.name !\u003d self.table:"},{"line_number":37,"context_line":"            return False"},{"line_number":38,"context_line":"        self.bridges_not_seen.discard(row.name)"},{"line_number":39,"context_line":"        return not self.bridges_not_seen"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    def run(self, event, row, old):"},{"line_number":42,"context_line":"        self.event.set()"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_c20f4c2a","line":39,"updated":"2018-11-19 09:50:44.000000000","message":"it\u0027s even better now. Thx :)","commit_id":"7e57e0f3d5c226f3868f03841f5dbaf23ed8fe9e"}]}
