)]}'
{"jenkins/__init__.py":[{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"6dfd2498b5c34d7bae707e7baac9e9b7dd35ef58","unresolved":false,"context_lines":[{"line_number":195,"context_line":"                    self.server + CRUMB_URL), add_crumb\u003dFalse)"},{"line_number":196,"context_line":"            except (NotFoundException, EmptyResponseException):"},{"line_number":197,"context_line":"                self.crumb \u003d False"},{"line_number":198,"context_line":"            else:"},{"line_number":199,"context_line":"                self.crumb \u003d json.loads(response.decode(\u0027utf-8\u0027))"},{"line_number":200,"context_line":"        if self.crumb:"},{"line_number":201,"context_line":"            req.add_header(self.crumb[\u0027crumbRequestField\u0027], self.crumb[\u0027crumb\u0027])"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a016987_97f5e884","line":198,"updated":"2015-05-14 11:18:28.000000000","message":"Need to remove the decode from here since it\u0027s now in the jenkins_open method.","commit_id":"273ab81d28ea28d5ac733ce07f995e1b32cb8000"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"c1e16c47a9e3566e9f82d388fd4ed7cb5a8ba43e","unresolved":false,"context_lines":[{"line_number":412,"context_line":"            if response is None:"},{"line_number":413,"context_line":"                raise EmptyResponseException("},{"line_number":414,"context_line":"                    \"Error communicating with server[%s]: \""},{"line_number":415,"context_line":"                    \"empty response\" % self.server)"},{"line_number":416,"context_line":"            return response.info().getheader(\u0027X-Jenkins\u0027)"},{"line_number":417,"context_line":"        except (HTTPError, BadStatusLine):"},{"line_number":418,"context_line":"            raise BadHTTPException(\"Error communicating with server[%s]\""}],"source_content_type":"text/x-python","patch_set":5,"id":"7a016987_ea10a350","line":415,"updated":"2015-05-14 16:36:40.000000000","message":"wondering if this one needs utf8 as well since it doesn\u0027t use jenkins_open?","commit_id":"67c233631f95e40a60003b3f5cbb380fe8ff6888"},{"author":{"_account_id":16360,"name":"Richard Pijnenburg","email":"richard.pijnenburg@gmail.com","username":"electrical"},"change_message_id":"b72a0f73645656cf51f7fd81636ac980dd90ef20","unresolved":false,"context_lines":[{"line_number":412,"context_line":"            if response is None:"},{"line_number":413,"context_line":"                raise EmptyResponseException("},{"line_number":414,"context_line":"                    \"Error communicating with server[%s]: \""},{"line_number":415,"context_line":"                    \"empty response\" % self.server)"},{"line_number":416,"context_line":"            return response.info().getheader(\u0027X-Jenkins\u0027)"},{"line_number":417,"context_line":"        except (HTTPError, BadStatusLine):"},{"line_number":418,"context_line":"            raise BadHTTPException(\"Error communicating with server[%s]\""}],"source_content_type":"text/x-python","patch_set":5,"id":"7a016987_49cfa8b0","line":415,"in_reply_to":"7a016987_2edeb26d","updated":"2015-05-15 10:58:03.000000000","message":"Did not need the utf8 thing but a whole different solution.","commit_id":"67c233631f95e40a60003b3f5cbb380fe8ff6888"},{"author":{"_account_id":16360,"name":"Richard Pijnenburg","email":"richard.pijnenburg@gmail.com","username":"electrical"},"change_message_id":"2452f71765689a5bbc0e6de4ebad3ff5f362a990","unresolved":false,"context_lines":[{"line_number":412,"context_line":"            if response is None:"},{"line_number":413,"context_line":"                raise EmptyResponseException("},{"line_number":414,"context_line":"                    \"Error communicating with server[%s]: \""},{"line_number":415,"context_line":"                    \"empty response\" % self.server)"},{"line_number":416,"context_line":"            return response.info().getheader(\u0027X-Jenkins\u0027)"},{"line_number":417,"context_line":"        except (HTTPError, BadStatusLine):"},{"line_number":418,"context_line":"            raise BadHTTPException(\"Error communicating with server[%s]\""}],"source_content_type":"text/x-python","patch_set":5,"id":"7a016987_2edeb26d","line":415,"in_reply_to":"7a016987_ea10a350","updated":"2015-05-15 10:20:14.000000000","message":"Did the calls manually in python 3.x and got the following error:\n\nAttributeError: \u0027HTTPMessage\u0027 object has no attribute \u0027getheader\u0027\n\nSeems we have some bigger problems with Python 3.x","commit_id":"67c233631f95e40a60003b3f5cbb380fe8ff6888"}],"tests/test_jenkins.py":[{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"6dfd2498b5c34d7bae707e7baac9e9b7dd35ef58","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        j \u003d jenkins.Jenkins(\u0027http://example.com\u0027, long_str, long_str)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        self.assertNotIn(b\"\\n\", j.auth)"},{"line_number":79,"context_line":"        self.assertEqual(j.auth, \u0027Basic %s\u0027 % ("},{"line_number":80,"context_line":"            long_str_b64 + \u0027Om\u0027 + long_str_b64[2:] + \u0027YQ\u003d\u003d\u0027))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"    def test_constructor_default_timeout(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a016987_d7392043","line":79,"updated":"2015-05-14 11:18:28.000000000","message":"The decode is still needed here as this is testing something that is not automatically decoded and needs to be sent in unicode with the url requests anyway.","commit_id":"273ab81d28ea28d5ac733ce07f995e1b32cb8000"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"6dfd2498b5c34d7bae707e7baac9e9b7dd35ef58","unresolved":false,"context_lines":[{"line_number":161,"context_line":""},{"line_number":162,"context_line":"        self.assertEqual("},{"line_number":163,"context_line":"            jenkins_mock.call_args[0][0].get_full_url(),"},{"line_number":164,"context_line":"            \u0027http://example.com/job/TestJob\u0027)"},{"line_number":165,"context_line":"        self.assertEqual(response, json.dumps(data).encode(\u0027utf-8\u0027))"},{"line_number":166,"context_line":"        self.assertEqual(j.crumb, crumb_data)"},{"line_number":167,"context_line":"        self.assertEqual(request.headers[\u0027.crumb\u0027], crumb_data[\u0027crumb\u0027])"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a016987_574650c0","line":164,"updated":"2015-05-14 11:18:28.000000000","message":"This encode is no longer needed since the response is now decoded all the time.","commit_id":"273ab81d28ea28d5ac733ce07f995e1b32cb8000"}]}
