)]}'
{"glanceclient/v1/shell.py":[{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"2d426e2b5352ecbb554fdbd3d2fb4d0f0c2fa77a","unresolved":false,"context_lines":[{"line_number":327,"context_line":"        # NOTE(kragniz): Exit with an error if the status is not queued"},{"line_number":328,"context_line":"        # and image data was provided"},{"line_number":329,"context_line":"        utils.exit(\u0027Unable to upload image data to an image which is \u0027"},{"line_number":330,"context_line":"                   \u0027already active.\u0027)"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"    image \u003d gc.images.update(image, purge_props\u003dargs.purge_props, **fields)"},{"line_number":333,"context_line":"    _image_show(image, args.human_readable)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_f7b2bd47","line":330,"updated":"2014-12-03 00:35:11.000000000","message":"I think we have other possibilities than queued or active (deleted, pending-delete, etc.). For normal user FE. deleted will give image not found, but admin will get the response 403 after sending the update to the server. With this change it will claim to admin that the image is active rather than deleted.\n\n In that light how about \u0027at state %s\u0027 % image.status)?","commit_id":"e034fb949f2a5270232f96c8cdd34d2ec09a0147"},{"author":{"_account_id":11356,"name":"Louis Taylor","email":"louis@kragniz.eu","username":"kragniz"},"change_message_id":"29c5061e7bd8cd3fd5e266d706aa562a60e7abcb","unresolved":false,"context_lines":[{"line_number":327,"context_line":"        # NOTE(kragniz): Exit with an error if the status is not queued"},{"line_number":328,"context_line":"        # and image data was provided"},{"line_number":329,"context_line":"        utils.exit(\u0027Unable to upload image data to an image which is \u0027"},{"line_number":330,"context_line":"                   \u0027already active.\u0027)"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"    image \u003d gc.images.update(image, purge_props\u003dargs.purge_props, **fields)"},{"line_number":333,"context_line":"    _image_show(image, args.human_readable)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_ed510a31","line":330,"in_reply_to":"5a890539_f7b2bd47","updated":"2014-12-03 02:37:11.000000000","message":"Good point. I\u0027ll fix this.","commit_id":"e034fb949f2a5270232f96c8cdd34d2ec09a0147"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"a168b11154c2e7c54aef6bd01799e3b50ad5621d","unresolved":false,"context_lines":[{"line_number":246,"context_line":"    except OSError:"},{"line_number":247,"context_line":"        return False"},{"line_number":248,"context_line":"    return not sys.stdin.isatty() or args.file"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"@utils.arg(\u0027image\u0027, metavar\u003d\u0027\u003cIMAGE\u003e\u0027, help\u003d\u0027Name or ID of image to modify.\u0027)"},{"line_number":252,"context_line":"@utils.arg(\u0027--name\u0027, metavar\u003d\u0027\u003cNAME\u003e\u0027,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_cfc08352","line":249,"updated":"2015-02-05 15:37:35.000000000","message":"How about the copy-from case?","commit_id":"ec45816c7ab3f404da639f7eec3861b1509fce71"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"d93651b828722702d3a05f14982ebd0962c58ab2","unresolved":false,"context_lines":[{"line_number":246,"context_line":"    except OSError:"},{"line_number":247,"context_line":"        return False"},{"line_number":248,"context_line":"    return not sys.stdin.isatty() or args.file"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"@utils.arg(\u0027image\u0027, metavar\u003d\u0027\u003cIMAGE\u003e\u0027, help\u003d\u0027Name or ID of image to modify.\u0027)"},{"line_number":252,"context_line":"@utils.arg(\u0027--name\u0027, metavar\u003d\u0027\u003cNAME\u003e\u0027,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_dd3d8fde","line":249,"in_reply_to":"da86d52c_cfc08352","updated":"2015-02-05 22:25:16.000000000","message":"Nice catch!","commit_id":"ec45816c7ab3f404da639f7eec3861b1509fce71"},{"author":{"_account_id":11356,"name":"Louis Taylor","email":"louis@kragniz.eu","username":"kragniz"},"change_message_id":"d2e2afcdbfef5fc511fc188ead2aad2c2e468ccc","unresolved":false,"context_lines":[{"line_number":246,"context_line":"    except OSError:"},{"line_number":247,"context_line":"        return False"},{"line_number":248,"context_line":"    return not sys.stdin.isatty() or args.file"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"@utils.arg(\u0027image\u0027, metavar\u003d\u0027\u003cIMAGE\u003e\u0027, help\u003d\u0027Name or ID of image to modify.\u0027)"},{"line_number":252,"context_line":"@utils.arg(\u0027--name\u0027, metavar\u003d\u0027\u003cNAME\u003e\u0027,"}],"source_content_type":"text/x-python","patch_set":5,"id":"da86d52c_12fe1206","line":249,"in_reply_to":"da86d52c_dd3d8fde","updated":"2015-02-06 18:01:28.000000000","message":"Done","commit_id":"ec45816c7ab3f404da639f7eec3861b1509fce71"}]}
