)]}'
{"glance_store/_drivers/swift/store.py":[{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"8a7f3789046840776bbe23721ee8a4a54a659978","unresolved":false,"context_lines":[{"line_number":962,"context_line":"            raise exceptions.ZeroSizeChunk()"},{"line_number":963,"context_line":"        self.bytes_read +\u003d len(result)"},{"line_number":964,"context_line":"        self.checksum.update(result)"},{"line_number":965,"context_line":"        if self.verifier and len(result) \u003e 0:"},{"line_number":966,"context_line":"            self.verifier.update(result)"},{"line_number":967,"context_line":"        return result"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a68dd71_d6b0018e","line":965,"updated":"2016-01-21 03:18:45.000000000","message":"Nit: we now already check for zero-sized chunks in L960.","commit_id":"c64d81df0b6a7a985b7c68c7ae371b471f6555d7"},{"author":{"_account_id":7012,"name":"Brianna Poulos","email":"Brianna.Poulos@jhuapl.edu","username":"brianna-poulos"},"change_message_id":"7b012e3281cddd6b103e5f56c264dafcdfb93358","unresolved":false,"context_lines":[{"line_number":962,"context_line":"            raise exceptions.ZeroSizeChunk()"},{"line_number":963,"context_line":"        self.bytes_read +\u003d len(result)"},{"line_number":964,"context_line":"        self.checksum.update(result)"},{"line_number":965,"context_line":"        if self.verifier and len(result) \u003e 0:"},{"line_number":966,"context_line":"            self.verifier.update(result)"},{"line_number":967,"context_line":"        return result"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a68dd71_ee99926f","line":965,"in_reply_to":"9a68dd71_d6b0018e","updated":"2016-01-21 14:59:07.000000000","message":"L960 only handles the len(result) being zero when the number of bytes already read is also equal to zero.  If self.bytes_read is non-zero, it is still possible to reach here with the len(result) equal to zero.\n\nIt doesn\u0027t hurt to update the verifier with an empty value, so I\u0027ll remove the check for len(result) \u003e 0.","commit_id":"c64d81df0b6a7a985b7c68c7ae371b471f6555d7"}]}
