)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6735,"name":"Bob Ball","email":"bob.ball@citrix.com","username":"bob-ball"},"change_message_id":"f9fc5c5c1fae2db461fb452f3825ccd30a74b3a4","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     John Hua \u003cjohn.hua@citrix.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-07-27 02:34:11 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support extra (t)gz images that only has a single VHD file in it"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently (t)gz images are supported only when the names of VHD files"},{"line_number":10,"context_line":"within follow the format of \"0.vhd, 1.vhd, ... (n-1).vhd\" called VDI"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a50d1a3_4dce572e","line":7,"updated":"2015-07-28 07:41:24.000000000","message":"I think we only currently support tgz not gz images.  I do want to add gz support when there is only a single VHD, but I don\u0027t think this change adds that support?\n\nAs such, we either need to extend the change to cope with 0.vhd.gz (for example) or simplify the commit message to show that only .tgz is supported here","commit_id":"aa4c7c5881b9c0dd26ebb57626da84f3f7bf6edb"}],"plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py":[{"author":{"_account_id":2835,"name":"Brian Elliott","email":"bdelliott@gmail.com","username":"belliott"},"change_message_id":"70fbecec67b3cfaa4bf408f2bd5de7af662f5af1","unresolved":false,"context_lines":[{"line_number":207,"context_line":"    contents \u003d os.listdir(staging_path)"},{"line_number":208,"context_line":"    if len(contents) \u003d\u003d 1:"},{"line_number":209,"context_line":"        filename \u003d contents[0]"},{"line_number":210,"context_line":"        if filename !\u003d \u00270.vhd\u0027 and filename[-4:] \u003d\u003d \u0027.vhd\u0027:"},{"line_number":211,"context_line":"            _rename("},{"line_number":212,"context_line":"                os.path.join(staging_path, filename),"},{"line_number":213,"context_line":"                os.path.join(staging_path, \u00270.vhd\u0027))"}],"source_content_type":"text/x-python","patch_set":3,"id":"da20952f_b10def90","line":210,"updated":"2015-09-04 16:11:51.000000000","message":"filename.endswith(\u0027.vhd\u0027) is a bit cleaner","commit_id":"b9510a26f3cdae555d1e61513369a0cf7971f8f8"}]}
