)]}'
{"glanceclient/v2/shell.py":[{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"c0d5b56eb816e9f4e4420201f2ec9cd419c6bf2b","unresolved":false,"context_lines":[{"line_number":63,"context_line":"def do_image_create(gc, args):"},{"line_number":64,"context_line":"    \"\"\"Create a new image.\"\"\""},{"line_number":65,"context_line":"    schema \u003d gc.schemas.get(\"image\")"},{"line_number":66,"context_line":"    if str(vars(args)[\u0027file\u0027]).startswith(\u0027~\u0027):"},{"line_number":67,"context_line":"        file \u003d os.path.expanduser(vars(args)[\u0027file\u0027])"},{"line_number":68,"context_line":"        vars(args)[\u0027file\u0027] \u003d file"},{"line_number":69,"context_line":"    _args \u003d [(x[0].replace(\u0027-\u0027, \u0027_\u0027), x[1]) for x in vars(args).items()]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a122d0e_b2b77bf4","line":66,"range":{"start_line":66,"start_character":4,"end_line":66,"end_character":6},"updated":"2016-05-03 11:30:45.000000000","message":"I don\u0027t think we need this \"if\" -- it will already be handled in \u0027expanduser\u0027.","commit_id":"07adb285645ed4780719ac308cc040ac124cb6d5"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"c0d5b56eb816e9f4e4420201f2ec9cd419c6bf2b","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    \"\"\"Create a new image.\"\"\""},{"line_number":65,"context_line":"    schema \u003d gc.schemas.get(\"image\")"},{"line_number":66,"context_line":"    if str(vars(args)[\u0027file\u0027]).startswith(\u0027~\u0027):"},{"line_number":67,"context_line":"        file \u003d os.path.expanduser(vars(args)[\u0027file\u0027])"},{"line_number":68,"context_line":"        vars(args)[\u0027file\u0027] \u003d file"},{"line_number":69,"context_line":"    _args \u003d [(x[0].replace(\u0027-\u0027, \u0027_\u0027), x[1]) for x in vars(args).items()]"},{"line_number":70,"context_line":"    fields \u003d dict(filter(lambda x: x[1] is not None and"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a122d0e_f28453b2","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":8},"updated":"2016-05-03 11:30:45.000000000","message":"Would it make sense to call expanduser for \"file\" in just one place, eg in:\n\nglanceclient/shell.py \u0027def main\u0027","commit_id":"07adb285645ed4780719ac308cc040ac124cb6d5"}]}
