)]}'
{"swift/common/utils.py":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"75cf74855c08422e92ba17bffe0a6d3dff4fe1fe","unresolved":false,"context_lines":[{"line_number":4326,"context_line":"        if not isinstance(other, ShardRange):"},{"line_number":4327,"context_line":"            return False"},{"line_number":4328,"context_line":"        # TODO: consider comparing other attributes (object_count, bytes_used)"},{"line_number":4329,"context_line":"        # but it may prove useful to be able to test for equality of range only"},{"line_number":4330,"context_line":"        return self.lower \u003d\u003d other.lower and self.upper \u003d\u003d other.upper"},{"line_number":4331,"context_line":""},{"line_number":4332,"context_line":"    def __ne__(self, other):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f4e5783_2b583930","line":4329,"updated":"2017-10-12 17:58:33.000000000","message":"It seems like we maybe ought to include deleted...\n\nOr return NotImplemented if you try to compare a deleted range to a non-deleted one? IDK.","commit_id":"3f3d76fb4da76904867797009026c1c0429de18b"}],"test/unit/container/test_replicator.py":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"75cf74855c08422e92ba17bffe0a6d3dff4fe1fe","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        # dict representations to compare all attributes"},{"line_number":48,"context_line":"        self.assertEqual([dict(sr) for sr in x], [dict(sr) for sr in y])"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def assertShardRangesNotEqual(self, x, y):"},{"line_number":51,"context_line":"        # ShardRange.__eq__ only compares lower and upper; here we generate"},{"line_number":52,"context_line":"        # dict representations to compare all attributes"},{"line_number":53,"context_line":"        self.assertNotEqual([dict(sr) for sr in x], [dict(sr) for sr in y])"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f4e5783_8b696d8c","line":50,"updated":"2017-10-12 17:58:33.000000000","message":"Unused? I like the symmetry, but it seems like most every time we\u0027d care about comparing two lists of shard ranges, we\u0027d want to see that they\u0027re the same...","commit_id":"3f3d76fb4da76904867797009026c1c0429de18b"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"75cf74855c08422e92ba17bffe0a6d3dff4fe1fe","unresolved":false,"context_lines":[{"line_number":1177,"context_line":"            info \u003d broker.get_replication_info()"},{"line_number":1178,"context_line":"            success \u003d daemon._repl_to_node(node, from_broker, part, info)"},{"line_number":1179,"context_line":"            self.assertTrue(success)"},{"line_number":1180,"context_line":"            self.assertEqual("},{"line_number":1181,"context_line":"                expected_shard_ranges,"},{"line_number":1182,"context_line":"                to_broker.get_shard_ranges(include_deleted\u003dTrue)"},{"line_number":1183,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f4e5783_cb464522","line":1180,"range":{"start_line":1180,"start_character":17,"end_line":1180,"end_character":28},"updated":"2017-10-12 17:58:33.000000000","message":"assertShardRangesEqual?","commit_id":"3f3d76fb4da76904867797009026c1c0429de18b"}]}
