)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"1b97b0a14d25ea04fc1787da95314fd8eabe28a6","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    b\u0027  File \"/opt/stack/networking-ovn/networking_ovn/agent/metadata/agent.py\", line 242, in \u003clistcomp\u003e\u0027"},{"line_number":96,"context_line":"    b\u0027    ns.startswith(NS_PREFIX) and\u0027"},{"line_number":97,"context_line":"    b\u0027TypeError: startswith first arg must be bytes or a tuple of bytes, not str\u0027"},{"line_number":98,"context_line":"    b\u0027\u0027"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Change-Id: Iaf807ab4bdbb41dc80702283d9689ccdd499fa31"},{"line_number":101,"context_line":"Signed-off-by: Flavio Fernandes \u003cflaviof@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"5faad753_08b0c342","line":98,"updated":"2019-09-13 17:04:01.000000000","message":"I think it may be better to open an LP bug with this tracebacks. Having an LP bug also helps when backporting a change to the stable branches (and this change looks like a good candidate for backports IMHO)","commit_id":"b36f4f05edbee9eaf4aaebb9a6d3431e008fb94b"},{"author":{"_account_id":11952,"name":"Flavio Fernandes","email":"flavio@flaviof.com","username":"ffernand"},"change_message_id":"36d416beba2bc3cdb1f05484dbf81dcea4e389a3","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    b\u0027  File \"/opt/stack/networking-ovn/networking_ovn/agent/metadata/agent.py\", line 242, in \u003clistcomp\u003e\u0027"},{"line_number":96,"context_line":"    b\u0027    ns.startswith(NS_PREFIX) and\u0027"},{"line_number":97,"context_line":"    b\u0027TypeError: startswith first arg must be bytes or a tuple of bytes, not str\u0027"},{"line_number":98,"context_line":"    b\u0027\u0027"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Change-Id: Iaf807ab4bdbb41dc80702283d9689ccdd499fa31"},{"line_number":101,"context_line":"Signed-off-by: Flavio Fernandes \u003cflaviof@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"5faad753_85d8197b","line":98,"in_reply_to":"5faad753_08b0c342","updated":"2019-09-13 20:32:58.000000000","message":"Done\nbug#1843944\nhttps://bugs.launchpad.net/networking-ovn/+bug/1843944","commit_id":"b36f4f05edbee9eaf4aaebb9a6d3431e008fb94b"}],"networking_ovn/agent/metadata/agent.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"1b97b0a14d25ea04fc1787da95314fd8eabe28a6","unresolved":false,"context_lines":[{"line_number":237,"context_line":"        which were serving metadata but are no longer needed."},{"line_number":238,"context_line":"        \"\"\""},{"line_number":239,"context_line":"        metadata_namespaces \u003d self.ensure_all_networks_provisioned()"},{"line_number":240,"context_line":"        system_namespaces \u003d tuple(ns.decode(\u0027utf-8\u0027) for ns in"},{"line_number":241,"context_line":"                                  ip_lib.list_network_namespaces())"},{"line_number":242,"context_line":"        unused_namespaces \u003d [ns for ns in system_namespaces if"},{"line_number":243,"context_line":"                             ns.startswith(NS_PREFIX) and"}],"source_content_type":"text/x-python","patch_set":7,"id":"5faad753_c8514bdb","line":240,"range":{"start_line":240,"start_character":34,"end_line":240,"end_character":52},"updated":"2019-09-13 17:04:01.000000000","message":"Not tested but I think this may work:\n\nimport six\n\ntuple(six.b(ns) for ns in ...)","commit_id":"b36f4f05edbee9eaf4aaebb9a6d3431e008fb94b"},{"author":{"_account_id":11952,"name":"Flavio Fernandes","email":"flavio@flaviof.com","username":"ffernand"},"change_message_id":"20e0ed6a02271db83bef209cfa20ffbbf93ff7b7","unresolved":false,"context_lines":[{"line_number":237,"context_line":"        which were serving metadata but are no longer needed."},{"line_number":238,"context_line":"        \"\"\""},{"line_number":239,"context_line":"        metadata_namespaces \u003d self.ensure_all_networks_provisioned()"},{"line_number":240,"context_line":"        system_namespaces \u003d tuple(ns.decode(\u0027utf-8\u0027) for ns in"},{"line_number":241,"context_line":"                                  ip_lib.list_network_namespaces())"},{"line_number":242,"context_line":"        unused_namespaces \u003d [ns for ns in system_namespaces if"},{"line_number":243,"context_line":"                             ns.startswith(NS_PREFIX) and"}],"source_content_type":"text/x-python","patch_set":7,"id":"5faad753_a5b51534","line":240,"range":{"start_line":240,"start_character":34,"end_line":240,"end_character":52},"in_reply_to":"5faad753_c8514bdb","updated":"2019-09-13 20:29:38.000000000","message":"heh, I think six.b() would do the opposite of what we are attempting to accomplish here. But I can see how this is\nnot going to make versions of python 3 happy. Let me fix that.","commit_id":"b36f4f05edbee9eaf4aaebb9a6d3431e008fb94b"}]}
