)]}'
{"keystone/federation/backends/sql.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"fa6354cf058946bdfbfb10499223550d48f88b0c","unresolved":false,"context_lines":[{"line_number":307,"context_line":"            elif isinstance(v, list):"},{"line_number":308,"context_line":"                map_value \u003d [self._check_if_text(item)"},{"line_number":309,"context_line":"                             for item in v]"},{"line_number":310,"context_line":"            else:"},{"line_number":311,"context_line":"                map_value \u003d v.encode(\u0027utf-8\u0027)"},{"line_number":312,"context_line":"            value[k] \u003d map_value"},{"line_number":313,"context_line":"        return value"}],"source_content_type":"text/x-python","patch_set":4,"id":"ff0f0b1f_75e89f7b","line":310,"updated":"2017-05-25 22:14:20.000000000","message":"The six library has ways to help deal with these situations if the problem is py2 -\u003e py3 incompatibilities.\n\nhttps://pythonhosted.org/six/","commit_id":"97e7e0fe285f2c94cd8baa5b7bc5b8a7cc1dd592"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"fa6354cf058946bdfbfb10499223550d48f88b0c","unresolved":false,"context_lines":[{"line_number":368,"context_line":"            # mapping rules and its\u0027 type should be str. In Python 3, it is"},{"line_number":369,"context_line":"            # not a problem, but in Python 2, text type is in unicode style."},{"line_number":370,"context_line":"            # So, transport the value type which should be compatible with"},{"line_number":371,"context_line":"            # Python 3."},{"line_number":372,"context_line":"            mapping_ref \u003d self._trans_text_to_str(mapping_ref.to_dict())"},{"line_number":373,"context_line":"            return mapping_ref"},{"line_number":374,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"ff0f0b1f_95657348","line":371,"updated":"2017-05-25 22:14:20.000000000","message":"This seems to have broken a bunch of py3 tests. I wonder why this doesn\u0027t fail when we use similar mappings in our testing fixtures.\n\nhttps://github.com/openstack/keystone/blob/c3ca06ff47cced16ea9de3d6ef1a6c583bb3cf38/keystone/tests/unit/mapping_fixtures.py#L565-L574","commit_id":"97e7e0fe285f2c94cd8baa5b7bc5b8a7cc1dd592"}]}
