)]}'
{"swift/obj/kvfile.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"828d0c7e9ba2c09305444439e0611abc3fbc6d2d","unresolved":false,"context_lines":[{"line_number":21,"context_line":"from hashlib import md5"},{"line_number":22,"context_line":"import logging"},{"line_number":23,"context_line":"import traceback"},{"line_number":24,"context_line":"from os.path import basename, dirname, join, split"},{"line_number":25,"context_line":"from random import shuffle"},{"line_number":26,"context_line":"from contextlib import contextmanager"},{"line_number":27,"context_line":"from collections import defaultdict"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_da5d297a","line":24,"updated":"2020-04-08 21:49:16.000000000","message":"pep8: F401 \u0027split\u0027 imported but unused","commit_id":"2c09d6e6e45a61ed90ab30c3b0882e3fac08d481"},{"author":{"_account_id":13852,"name":"Romain LE DISEZ","email":"romain.le-disez@corp.ovh.com","username":"rledisez"},"change_message_id":"d4146a764cdb9451588b031a45793d9e705bc7e5","unresolved":false,"context_lines":[{"line_number":808,"context_line":"                    return self.md5.hexdigest()"},{"line_number":809,"context_line":"            hashes \u003d defaultdict(shim)"},{"line_number":810,"context_line":"        try:"},{"line_number":811,"context_line":"            path_contents \u003d sorted(vfile.listdir(path))"},{"line_number":812,"context_line":"        except OSError as err:"},{"line_number":813,"context_line":"            if err.errno in (errno.ENOTDIR, errno.ENOENT):"},{"line_number":814,"context_line":"                raise PathNotDir()"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_59f7558c","line":811,"updated":"2020-04-09 16:04:06.000000000","message":"So all this green is not new code, but code taken from diskfile.py to replace the os.listdir by vfiles.listdir","commit_id":"4e5960293c696a47405435d34cc5cfb093f2f321"},{"author":{"_account_id":13852,"name":"Romain LE DISEZ","email":"romain.le-disez@corp.ovh.com","username":"rledisez"},"change_message_id":"d4146a764cdb9451588b031a45793d9e705bc7e5","unresolved":false,"context_lines":[{"line_number":929,"context_line":"            hashes \u003d copy.deepcopy(orig_hashes)"},{"line_number":930,"context_line":""},{"line_number":931,"context_line":"        if do_listdir:"},{"line_number":932,"context_line":"            for suff in vfile.listdir(partition_path):"},{"line_number":933,"context_line":"                if len(suff) \u003d\u003d 3:"},{"line_number":934,"context_line":"                    hashes.setdefault(suff, None)"},{"line_number":935,"context_line":"            modified \u003d True"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_390b717d","line":932,"updated":"2020-04-09 16:04:06.000000000","message":"Copied to replace listdir() calls too","commit_id":"4e5960293c696a47405435d34cc5cfb093f2f321"}],"swift/obj/vfile.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"828d0c7e9ba2c09305444439e0611abc3fbc6d2d","unresolved":false,"context_lines":[{"line_number":24,"context_line":"import six"},{"line_number":25,"context_line":"import hashlib"},{"line_number":26,"context_line":"import re"},{"line_number":27,"context_line":"from collections import defaultdict"},{"line_number":28,"context_line":"from eventlet.green import os"},{"line_number":29,"context_line":"from swift.obj.header import ObjectHeader, VolumeHeader, ALIGNMENT, \\"},{"line_number":30,"context_line":"    read_volume_header, HeaderException, STATE_OBJ_QUARANTINED, \\"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_fa58ed8a","line":27,"updated":"2020-04-08 21:49:16.000000000","message":"pep8: F401 \u0027defaultdict\u0027 imported but unused","commit_id":"2c09d6e6e45a61ed90ab30c3b0882e3fac08d481"}]}
