)]}'
{"glance/common/utils.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"1853bbb5506df1a04f9e8ccf5773a91f748ff624","unresolved":false,"context_lines":[{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    try:"},{"line_number":417,"context_line":"        data \u003d str(uuid.uuid4())"},{"line_number":418,"context_line":"        data \u003d encodeutils.to_utf8(data)"},{"line_number":419,"context_line":"        digest \u003d CONF.digest_algorithm"},{"line_number":420,"context_line":"        if digest \u003d\u003d \u0027sha1\u0027:"},{"line_number":421,"context_line":"            LOG.warn(\u0027The FIPS (FEDERAL INFORMATION PROCESSING STANDARDS)\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_953a44cc","line":418,"updated":"2016-02-19 13:36:47.000000000","message":"Could you add a `NOTE` here? Just to make sure someone doesn\u0027t remove this in the future by mistake.","commit_id":"9e8b20f08402869e0e4154da96303e9a6b68b3ed"},{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"1ea8d5b4f916399bc578bbe350f00d87f751f256","unresolved":false,"context_lines":[{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    try:"},{"line_number":417,"context_line":"        data \u003d str(uuid.uuid4())"},{"line_number":418,"context_line":"        data \u003d encodeutils.to_utf8(data)"},{"line_number":419,"context_line":"        digest \u003d CONF.digest_algorithm"},{"line_number":420,"context_line":"        if digest \u003d\u003d \u0027sha1\u0027:"},{"line_number":421,"context_line":"            LOG.warn(\u0027The FIPS (FEDERAL INFORMATION PROCESSING STANDARDS)\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_616f0293","line":418,"in_reply_to":"bae84128_953a44cc","updated":"2016-02-19 14:42:35.000000000","message":"A note to explain why we need to encode to bytes? Or to explain why the UTF-8 encoding is used?\n\ndata is created with str(), so it\u0027s Unicode on Python 3, and we need bytes here.\n\nAll compression functions, hash functions, crypto functions, etc. expect bytes.","commit_id":"9e8b20f08402869e0e4154da96303e9a6b68b3ed"},{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"f4d416545ff6f564a9d77f74e33a683453889ab9","unresolved":false,"context_lines":[{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    try:"},{"line_number":417,"context_line":"        data \u003d str(uuid.uuid4())"},{"line_number":418,"context_line":"        data \u003d encodeutils.to_utf8(data)"},{"line_number":419,"context_line":"        digest \u003d CONF.digest_algorithm"},{"line_number":420,"context_line":"        if digest \u003d\u003d \u0027sha1\u0027:"},{"line_number":421,"context_line":"            LOG.warn(\u0027The FIPS (FEDERAL INFORMATION PROCESSING STANDARDS)\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bae84128_884e5b94","line":418,"in_reply_to":"bae84128_953a44cc","updated":"2016-02-22 10:05:44.000000000","message":"Done","commit_id":"9e8b20f08402869e0e4154da96303e9a6b68b3ed"}]}
