)]}'
{"swiftclient/multithreading.py":[{"author":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"change_message_id":"6a489844fcd2760d439a645a717f0c3e7fa76ef1","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        On Python 2, Unicode messages are encoded to utf8."},{"line_number":56,"context_line":"        \"\"\""},{"line_number":57,"context_line":"        if print_stream is None:"},{"line_number":58,"context_line":"            self.print_stream \u003d sys.stdout"},{"line_number":59,"context_line":"        else:"},{"line_number":60,"context_line":"            self.print_stream \u003d print_stream"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_5065c6df","line":57,"updated":"2015-03-23 14:32:27.000000000","message":"Maybe we could tidy this up a bit to be\n\n  self.print_stream \u003d print_stream or sys.stdout","commit_id":"3a4c0116bf91fb43767916a6a3b4d7b4ae05d607"},{"author":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"change_message_id":"6a489844fcd2760d439a645a717f0c3e7fa76ef1","unresolved":false,"context_lines":[{"line_number":60,"context_line":"            self.print_stream \u003d print_stream"},{"line_number":61,"context_line":"        self.print_pool \u003d ThreadPoolExecutor(max_workers\u003d1)"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        if error_stream is None:"},{"line_number":64,"context_line":"            self.error_stream \u003d sys.stderr"},{"line_number":65,"context_line":"        else:"},{"line_number":66,"context_line":"            self.error_stream \u003d error_stream"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_70b9e22d","line":63,"updated":"2015-03-23 14:32:27.000000000","message":"See above suggestion for self.print_stream","commit_id":"3a4c0116bf91fb43767916a6a3b4d7b4ae05d607"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"665835d3efd49a33eaa89ca3bee3ab1cf5af5f02","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        self.print_stream \u003d print_stream or sys.stdout"},{"line_number":58,"context_line":"        self.print_pool \u003d ThreadPoolExecutor(max_workers\u003d1)"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        self.error_stream \u003d error_stream or sys.stderr"},{"line_number":61,"context_line":"        self.error_print_pool \u003d ThreadPoolExecutor(max_workers\u003d1)"},{"line_number":62,"context_line":"        self.error_count \u003d 0"},{"line_number":63,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_5d6df096","line":60,"updated":"2015-04-21 21:09:57.000000000","message":"so obviously correct","commit_id":"a4fb70ece189aff85f234ab6b3f275b69e936c03"}],"tests/functional/test_swiftclient.py":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"11940106b894d9ed795b84dfd6820aba3dd1ada5","unresolved":false,"context_lines":[{"line_number":52,"context_line":"            auth_prefix \u003d config.get(\u0027func_test\u0027, \u0027auth_prefix\u0027)"},{"line_number":53,"context_line":"            self.auth_version \u003d config.get(\u0027func_test\u0027, \u0027auth_version\u0027)"},{"line_number":54,"context_line":"            try:"},{"line_number":55,"context_line":"                self.account_username \u003d config.get(\u0027func_test\u0027,"},{"line_number":56,"context_line":"                                                   \u0027account_username\u0027)"},{"line_number":57,"context_line":"            except configparser.NoOptionError:"},{"line_number":58,"context_line":"                account \u003d config.get(\u0027func_test\u0027, \u0027account\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3acd31a7_d188f524","line":55,"updated":"2015-04-30 17:47:15.000000000","message":"should be added to sample.conf","commit_id":"a4fb70ece189aff85f234ab6b3f275b69e936c03"}],"tests/unit/test_service.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"665835d3efd49a33eaa89ca3bee3ab1cf5af5f02","unresolved":false,"context_lines":[{"line_number":869,"context_line":"            mock_conn.get_object.side_effect \u003d ["},{"line_number":870,"context_line":"                (None, manifest),"},{"line_number":871,"context_line":"                (None, submanifest)]"},{"line_number":872,"context_line":"            type(mock_conn).attempts \u003d mock.PropertyMock(return_value\u003d2)"},{"line_number":873,"context_line":""},{"line_number":874,"context_line":"            s \u003d SwiftService()"},{"line_number":875,"context_line":"            r \u003d s._upload_object_job(conn\u003dmock_conn,"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_06aa8470","line":872,"updated":"2015-04-21 21:09:57.000000000","message":"I tried to start to plumb some of the test_swiftclient MockHttpTest stuff into test_service but decided the custom mocks over our own swiftclient.Connection (which IMHO are a kinda gross waste of an opportunity to avoid integration bugs) were closer to how the rest of test_service was tackling the issue.","commit_id":"a4fb70ece189aff85f234ab6b3f275b69e936c03"}],"tests/unit/utils.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"665835d3efd49a33eaa89ca3bee3ab1cf5af5f02","unresolved":false,"context_lines":[{"line_number":399,"context_line":"        self.stream \u003d stream"},{"line_number":400,"context_line":"        self._capture \u003d six.StringIO()"},{"line_number":401,"context_line":"        self._buffer \u003d CaptureStreamBuffer(self)"},{"line_number":402,"context_line":"        self.streams \u003d [self._capture]"},{"line_number":403,"context_line":""},{"line_number":404,"context_line":"    @property"},{"line_number":405,"context_line":"    def buffer(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_466f5c92","line":402,"updated":"2015-04-21 21:09:57.000000000","message":"the printing to the captured stream was meant to be useful in debugging with nose \"-s, --nocapture\" - since the stdout is naturally suppressed by nose and will be output on a test failure automatically - but it\u0027s definitely noisy on output to stderr which nose won\u0027t capture by default.\n\nI wonder if it we should just apply this exclusion to stderr, or make a debug\u003dTrue option available to the CaptureOutput context manager so you can add to a test when you need to get a larger picture of everything that\u0027s getting printed by the UUT.","commit_id":"a4fb70ece189aff85f234ab6b3f275b69e936c03"}]}
