)]}'
{"manila/share/drivers/quobyte/jsonrpc.py":[{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"7c0cda692ecd4aa28c0fee0f660723372e55e418","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    def get_authorization_header(self):"},{"line_number":53,"context_line":"        header \u003d \u0027%s:%s\u0027 % (self._username, self._password)"},{"line_number":54,"context_line":"        auth \u003d base64.standard_b64encode(six.b(header))"},{"line_number":55,"context_line":"        return \u0027BASIC %s\u0027 % auth.decode()"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"class HTTPSConnectionWithCaVerification(http_client.HTTPConnection):"}],"source_content_type":"text/x-python","patch_set":19,"id":"1a4dcd0f_3bb39c4e","line":55,"updated":"2015-08-07 15:49:25.000000000","message":"Do we need this decode() call here? Running the tests in Python 2.7 shows the same result for return type with and without the decode() call. Is this something that is required for the way Python 3.4 behaves?","commit_id":"ed6ed4720277772bd333ca4a641808118672ed2d"},{"author":{"_account_id":2417,"name":"Ben Swartzlander","email":"ben@swartzlander.org","username":"bswartz"},"change_message_id":"f65ed823209da76244c08012ceaa8f79d54815d1","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    def get_authorization_header(self):"},{"line_number":53,"context_line":"        header \u003d \u0027%s:%s\u0027 % (self._username, self._password)"},{"line_number":54,"context_line":"        auth \u003d base64.standard_b64encode(six.b(header))"},{"line_number":55,"context_line":"        return \u0027BASIC %s\u0027 % auth.decode()"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"class HTTPSConnectionWithCaVerification(http_client.HTTPConnection):"}],"source_content_type":"text/x-python","patch_set":19,"id":"1a4dcd0f_de02a172","line":55,"in_reply_to":"1a4dcd0f_3bb39c4e","updated":"2015-08-07 18:14:53.000000000","message":"+1","commit_id":"ed6ed4720277772bd333ca4a641808118672ed2d"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"0cc58b9659e5cec1490f9ffc3bf442e0aa33fc3c","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    def get_authorization_header(self):"},{"line_number":53,"context_line":"        header \u003d \u0027%s:%s\u0027 % (self._username, self._password)"},{"line_number":54,"context_line":"        auth \u003d base64.standard_b64encode(six.b(header))"},{"line_number":55,"context_line":"        return \u0027BASIC %s\u0027 % auth.decode()"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"class HTTPSConnectionWithCaVerification(http_client.HTTPConnection):"}],"source_content_type":"text/x-python","patch_set":19,"id":"1a4dcd0f_242ff3f7","line":55,"in_reply_to":"1a4dcd0f_de02a172","updated":"2015-08-07 20:46:38.000000000","message":"Yes, it is for py3. We need here exactly string, \"decode\" makes it real string. base64 returns bytes.\n\nSee: https://pythonhosted.org/six/#binary-and-text-data","commit_id":"ed6ed4720277772bd333ca4a641808118672ed2d"}],"manila/tests/api/test_wsgi.py":[{"author":{"_account_id":17780,"name":"Dustin Schoenbrun","email":"dschoenb@redhat.com","username":"dschoenb"},"change_message_id":"7c0cda692ecd4aa28c0fee0f660723372e55e418","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"            def __call__(self, environ, start_response):"},{"line_number":52,"context_line":"                start_response(\"200\", [])"},{"line_number":53,"context_line":"                return [\u0027Router result\u0027]"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        class Router(wsgi.Router):"},{"line_number":56,"context_line":"            \"\"\"Test router.\"\"\""}],"source_content_type":"text/x-python","patch_set":19,"id":"1a4dcd0f_bbdecc3b","line":53,"updated":"2015-08-07 15:49:25.000000000","message":"Does this string literal also need to be wrapped with a six.b() call?","commit_id":"ed6ed4720277772bd333ca4a641808118672ed2d"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"0cc58b9659e5cec1490f9ffc3bf442e0aa33fc3c","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"            def __call__(self, environ, start_response):"},{"line_number":52,"context_line":"                start_response(\"200\", [])"},{"line_number":53,"context_line":"                return [\u0027Router result\u0027]"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        class Router(wsgi.Router):"},{"line_number":56,"context_line":"            \"\"\"Test router.\"\"\""}],"source_content_type":"text/x-python","patch_set":19,"id":"1a4dcd0f_644adbae","line":53,"in_reply_to":"1a4dcd0f_bbdecc3b","updated":"2015-08-07 20:46:38.000000000","message":"Different apps are called. And only one fails. This test passes as is. In above test, if I am not mistaken, was some error related to concatenation of bytes and string that is simply absent in this case.","commit_id":"ed6ed4720277772bd333ca4a641808118672ed2d"}]}
