)]}'
{"swift/obj/audit_dark_data.py":[{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"bacf4f40cb8481d325d69e595fb27204e04eb4bd","unresolved":false,"context_lines":[{"line_number":92,"context_line":"            self.tot_dark +\u003d 1"},{"line_number":93,"context_line":"            # XXX To log everything is probably not the best practice."},{"line_number":94,"context_line":"            # Fix this when dsariel adds report/quarantine/remove conf."},{"line_number":95,"context_line":"            self.logger.info(\"dark %s\" % (obj_path,))"},{"line_number":96,"context_line":"        else:"},{"line_number":97,"context_line":"            # OK, object is there, but we need to verify that we are what"},{"line_number":98,"context_line":"            # is listed. Watch out for versioned objects, EC, and all that."}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_f68387c9","line":95,"updated":"2020-06-04 15:59:48.000000000","message":"I\u0027m ok with a uniform prefix through PrefixLoggerAdapter, thanks.","commit_id":"e2d99f88d1129d228324de282974f099d9205c59"},{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"bacf4f40cb8481d325d69e595fb27204e04eb4bd","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        try:"},{"line_number":141,"context_line":"            headers, objs \u003d direct_get_container("},{"line_number":142,"context_line":"                node, container_part, account_name, container_name,"},{"line_number":143,"context_line":"                prefix\u003dobj_name, limit\u003d1)"},{"line_number":144,"context_line":"        except (Exception, Timeout):"},{"line_number":145,"context_line":"            # Something is wrong with that server, treat as an error."},{"line_number":146,"context_line":"            continue"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_563d13c2","line":143,"updated":"2020-06-04 15:59:48.000000000","message":"Oh, right. Sorry. Dunno where I got the idea that it cannot do prefix and limit.\n\nBut I still like that comment about the intent of this trick.","commit_id":"e2d99f88d1129d228324de282974f099d9205c59"},{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"bacf4f40cb8481d325d69e595fb27204e04eb4bd","unresolved":false,"context_lines":[{"line_number":141,"context_line":"            headers, objs \u003d direct_get_container("},{"line_number":142,"context_line":"                node, container_part, account_name, container_name,"},{"line_number":143,"context_line":"                prefix\u003dobj_name, limit\u003d1)"},{"line_number":144,"context_line":"        except (Exception, Timeout):"},{"line_number":145,"context_line":"            # Something is wrong with that server, treat as an error."},{"line_number":146,"context_line":"            continue"},{"line_number":147,"context_line":"        if not objs or objs[0][\u0027name\u0027] !\u003d obj_name:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_f670a7a6","line":144,"updated":"2020-06-04 15:59:48.000000000","message":"I seriously hate \"except Exception\".","commit_id":"e2d99f88d1129d228324de282974f099d9205c59"}],"test/unit/obj/test_auditor.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7aa23577adceb9c0b67b71edfc01e2ea2cdf16d3","unresolved":false,"context_lines":[{"line_number":1680,"context_line":"            my_auditor.run_audit(mode\u003d\u0027once\u0027)"},{"line_number":1681,"context_line":""},{"line_number":1682,"context_line":"        log_lines \u003d self.logger.get_lines_for_level(\u0027info\u0027)"},{"line_number":1683,"context_line":"        self.assertIn(\u0027[audit-watcher DarkDataWatcher] total unknown 2 ok 0 dark 0\u0027, log_lines)"},{"line_number":1684,"context_line":""},{"line_number":1685,"context_line":""},{"line_number":1686,"context_line":"if __name__ \u003d\u003d \u0027__main__\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_46791efa","line":1683,"updated":"2020-06-01 21:46:07.000000000","message":"pep8: E501 line too long (95 \u003e 79 characters)","commit_id":"e2d99f88d1129d228324de282974f099d9205c59"}]}
