)]}'
{"glanceclient/v1/shell.py":[{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"5e1d97375fbe14bb25b4fa39d16397f58348fc3b","unresolved":false,"context_lines":[{"line_number":62,"context_line":"@utils.arg(\u0027--sort-dir\u0027, default\u003d\u0027asc\u0027,"},{"line_number":63,"context_line":"           choices\u003dglanceclient.v1.images.SORT_DIR_VALUES,"},{"line_number":64,"context_line":"           help\u003d\u0027Sort image list in specified direction.\u0027)"},{"line_number":65,"context_line":"@utils.arg(\u0027--is-public\u0027, type\u003dutils.string_to_bool, metavar\u003d\u0027[True|False]\u0027,"},{"line_number":66,"context_line":"           help\u003d(\u0027Allows the user to select a listing of public or non \u0027"},{"line_number":67,"context_line":"                 \u0027public images.\u0027))"},{"line_number":68,"context_line":"def do_image_list(gc, args):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAN3%2F%2Fvz8%3D","line":65,"updated":"2013-03-13 22:57:44.000000000","message":"I\u0027m wondering if this should be \u0027{True|False}\u0027 instead of \u0027[True|False]\u0027 so that it matches the choices for sort-dir and sort-key when the usage is printed.","commit_id":"bdc8fc224c77a6408c5dcaac2e41a2a34265d482"},{"author":{"_account_id":177,"name":"Alex Meade","email":"mr.alex.meade@gmail.com","username":"alex-meade"},"change_message_id":"cb9777710100473d50b74bd5bbf6aef5b104a312","unresolved":false,"context_lines":[{"line_number":62,"context_line":"@utils.arg(\u0027--sort-dir\u0027, default\u003d\u0027asc\u0027,"},{"line_number":63,"context_line":"           choices\u003dglanceclient.v1.images.SORT_DIR_VALUES,"},{"line_number":64,"context_line":"           help\u003d\u0027Sort image list in specified direction.\u0027)"},{"line_number":65,"context_line":"@utils.arg(\u0027--is-public\u0027, type\u003dutils.string_to_bool, metavar\u003d\u0027[True|False]\u0027,"},{"line_number":66,"context_line":"           help\u003d(\u0027Allows the user to select a listing of public or non \u0027"},{"line_number":67,"context_line":"                 \u0027public images.\u0027))"},{"line_number":68,"context_line":"def do_image_list(gc, args):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAN3%2F%2FvH0%3D","line":65,"in_reply_to":"AAAAN3%2F%2Fvao%3D","updated":"2013-03-14 14:38:00.000000000","message":"Hmm that\u0027s odd, looks like we have some inconsistencies. The usage for image-list has things like this:\n--sort-dir {asc,desc}\n\nSo it looks weird when seeing two different ways to denote options but you are right about it using square brackets with image-update. I always read square brackets as optional and I don\u0027t know what the heck a curly brace means.\n\nLets just say that fixing this is outside the scope of this MP and since image-update is using square brackets for is-public then it\u0027s ok for now. I\u0027ll file a bug if there isn\u0027t one.","commit_id":"bdc8fc224c77a6408c5dcaac2e41a2a34265d482"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"de1605facae1776d2ac90fd18d72da83ee0aa505","unresolved":false,"context_lines":[{"line_number":62,"context_line":"@utils.arg(\u0027--sort-dir\u0027, default\u003d\u0027asc\u0027,"},{"line_number":63,"context_line":"           choices\u003dglanceclient.v1.images.SORT_DIR_VALUES,"},{"line_number":64,"context_line":"           help\u003d\u0027Sort image list in specified direction.\u0027)"},{"line_number":65,"context_line":"@utils.arg(\u0027--is-public\u0027, type\u003dutils.string_to_bool, metavar\u003d\u0027[True|False]\u0027,"},{"line_number":66,"context_line":"           help\u003d(\u0027Allows the user to select a listing of public or non \u0027"},{"line_number":67,"context_line":"                 \u0027public images.\u0027))"},{"line_number":68,"context_line":"def do_image_list(gc, args):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAN3%2F%2Fvao%3D","line":65,"in_reply_to":"AAAAN3%2F%2Fvz8%3D","updated":"2013-03-14 10:06:05.000000000","message":"@alex mmhh, /me lost here! :P\n\nWhat\u0027s the expected output for {}?\n\nOther commands are using [] for this cases. The image-update\u0027s usage output is:\n\nusage: glance image-update [--name \u003cNAME\u003e] [--disk-format \u003cCONTAINER_FORMAT\u003e]\n                           [--container-format \u003cDISK_FORMAT\u003e]\n                           [--owner \u003cTENANT_ID\u003e] [--size \u003cSIZE\u003e]\n                           [--min-disk \u003cDISK_GB\u003e] [--min-ram \u003cDISK_RAM\u003e]\n                           [--location \u003cIMAGE_URL\u003e] [--file \u003cFILE\u003e]\n                           [--checksum \u003cCHECKSUM\u003e] [--copy-from \u003cIMAGE_URL\u003e]\n                           [--is-public [True|False]]\n                           [--is-protected [True|False]]\n                           [--property \u003ckey\u003dvalue\u003e] [--purge-props]\n                           [--human-readable]\n                           \u003cIMAGE_ID\u003e\n\nI\u0027m just curious! Cheers!","commit_id":"bdc8fc224c77a6408c5dcaac2e41a2a34265d482"}]}
