)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"9671eb809bbb822f6440b8c3babf63b0a18c706e","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Paul Belanger \u003cpabelanger@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-08-14 14:36:51 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix tools/add-projects-to-main.yaml for py36"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Switch to collections.Mapping for dictionary checks, to make python36"},{"line_number":10,"context_line":"happy."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3f79a3b5_61159a3f","line":7,"updated":"2018-08-14 19:00:41.000000000","message":"Small nit, looking at this Ruamel returns a CommentedMap which is a child class of collections.MutableMapping. I don\u0027t think this has to do with python3.6 as much as ruamel.","commit_id":"d763e31f2c509893642eed8df173e4eef75732dd"}],"tools/add-projects-to-main.py":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"019abbbaa049723a8c8801d8abedb310fc9e7406","unresolved":false,"context_lines":[{"line_number":21,"context_line":"def get_single_key(var):"},{"line_number":22,"context_line":"    if isinstance(var, str):"},{"line_number":23,"context_line":"        return var"},{"line_number":24,"context_line":"    elif isinstance(var, list):"},{"line_number":25,"context_line":"        return var[0]"},{"line_number":26,"context_line":"    return list(var.keys())[0]"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_c5b6f38a","line":24,"updated":"2018-08-15 04:30:36.000000000","message":"I noticed in the changelog for 0.15.55 it says that if you are using isinstance(yaml.load(\u0027[1,2\u0027), list) then it needs to be a MutableSequence now too?  Is that relevant for this?","commit_id":"d763e31f2c509893642eed8df173e4eef75732dd"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"019abbbaa049723a8c8801d8abedb310fc9e7406","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        for idx, project in enumerate(gerrit[project_type]):"},{"line_number":69,"context_line":"            if idx \u003d\u003d sorted_index:"},{"line_number":70,"context_line":"                break"},{"line_number":71,"context_line":"            if isinstance(project, collections.Mapping):"},{"line_number":72,"context_line":"                project \u003d get_single_key(project)"},{"line_number":73,"context_line":"            existing_projects.add(project)"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_a5d897ee","line":71,"updated":"2018-08-15 04:30:36.000000000","message":"I noticed in zuul we do (dict, types.MappingProxyType) and never sure what\u0027s more right, that or this.","commit_id":"d763e31f2c509893642eed8df173e4eef75732dd"}]}
