)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13063,"name":"WEI CHEN","email":"dave.jungler@gmail.com","username":"wei.d.chen"},"change_message_id":"2f6f985f8b3ee0b3bdd8fcebc467ce9efaeb3f6b","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Fixes a type check to make it work in Python 3"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"base64.urlsafe_b64encode always returns a binary type. In Python 2 the"},{"line_number":10,"context_line":"binary type is the same as the string type so the code works fine. In"},{"line_number":11,"context_line":"Python 3 the types are different so the type check fail."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I234215a6ef9ac8a7f76e34014b27d53dda5ccf54"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3afb71cf_fb09fa84","line":10,"updated":"2015-06-10 08:39:33.000000000","message":"so, this claim is not strictly correct, pls check my comments in the code.","commit_id":"817702567f48c5add4d28c58c96ad3970a4ddb41"}],"keystone/token/providers/common.py":[{"author":{"_account_id":13063,"name":"WEI CHEN","email":"dave.jungler@gmail.com","username":"wei.d.chen"},"change_message_id":"8490ab34d505e0273c8ebf2a086c007aebf23f14","unresolved":false,"context_lines":[{"line_number":400,"context_line":"                                   utils.isotime(subsecond\u003dTrue))"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"    def _populate_audit_info(self, token_data, audit_info\u003dNone):"},{"line_number":403,"context_line":"        if audit_info is None or isinstance(audit_info, six.binary_type):"},{"line_number":404,"context_line":"            token_data[\u0027audit_ids\u0027] \u003d provider.audit_info(audit_info)"},{"line_number":405,"context_line":"        elif isinstance(audit_info, list):"},{"line_number":406,"context_line":"            token_data[\u0027audit_ids\u0027] \u003d audit_info"}],"source_content_type":"text/x-python","patch_set":11,"id":"3afb71cf_bbb14249","line":403,"updated":"2015-06-10 08:28:13.000000000","message":"The reason why this is not passed the tempest testcase is, unicode is instance of string types but not an instance of binary type in python2.","commit_id":"817702567f48c5add4d28c58c96ad3970a4ddb41"}]}
