)]}'
{"os_doc_tools/commands.py":[{"author":{"_account_id":18334,"name":"Nandini Tata","email":"nandini.tata@intel.com","username":"ntata"},"change_message_id":"4ea7240e3157b821f543a018f1c21b393baa5c66","unresolved":false,"context_lines":[{"line_number":472,"context_line":"        os_file.write(\".. code-block:: console\\n\\n\")"},{"line_number":473,"context_line":"        if \u0027positional arguments\u0027 in help_lines_lower and \\"},{"line_number":474,"context_line":"                \u0027optional arguments\u0027 in help_lines_lower:"},{"line_number":475,"context_line":"            arguments \u003d re.findall(\u0027\\\u003c(.*)\\\u003e\u0027, help_lines_lower["},{"line_number":476,"context_line":"                help_lines_lower.index(\u0027positional arguments\u0027):"},{"line_number":477,"context_line":"                help_lines_lower.index(\u0027optional arguments\u0027)])"},{"line_number":478,"context_line":"        elif \u0027positional arguments\u0027 in help_lines_lower:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5da102_e7332512","line":475,"updated":"2016-11-03 16:59:43.000000000","message":"Not sure if we have to escape the angular brace here. Importantly, the code has to look for optional positional arguments that come in [\u003c...\u003e]","commit_id":"7957162225cc5ada233ff0c0901e7aa02f998870"},{"author":{"_account_id":18334,"name":"Nandini Tata","email":"nandini.tata@intel.com","username":"ntata"},"change_message_id":"4ea7240e3157b821f543a018f1c21b393baa5c66","unresolved":false,"context_lines":[{"line_number":475,"context_line":"            arguments \u003d re.findall(\u0027\\\u003c(.*)\\\u003e\u0027, help_lines_lower["},{"line_number":476,"context_line":"                help_lines_lower.index(\u0027positional arguments\u0027):"},{"line_number":477,"context_line":"                help_lines_lower.index(\u0027optional arguments\u0027)])"},{"line_number":478,"context_line":"        elif \u0027positional arguments\u0027 in help_lines_lower:"},{"line_number":479,"context_line":"            arguments \u003d re.findall(\u0027\\\u003c(.*)\\\u003e\u0027, help_lines_lower["},{"line_number":480,"context_line":"                help_lines_lower.index(\u0027positional arguments\u0027):])"},{"line_number":481,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5da102_877509cc","line":478,"updated":"2016-11-03 16:59:43.000000000","message":"Not sure which swift subcommand\u0027s help text falls into this case. AFAIK, all the subcommand\u0027s help text have both positional and optional arguments. Although. \"swift capabilities\" has optional positional arguments. As with the case of \"swift auth\" where there are no arguments, the \"else\" condition will take care.","commit_id":"7957162225cc5ada233ff0c0901e7aa02f998870"},{"author":{"_account_id":18334,"name":"Nandini Tata","email":"nandini.tata@intel.com","username":"ntata"},"change_message_id":"4ea7240e3157b821f543a018f1c21b393baa5c66","unresolved":false,"context_lines":[{"line_number":480,"context_line":"                help_lines_lower.index(\u0027positional arguments\u0027):])"},{"line_number":481,"context_line":"        else:"},{"line_number":482,"context_line":"            arguments \u003d []"},{"line_number":483,"context_line":"        os_file.write(\"Usage: swift \" + os_subcommand + \u0027\u0027.join([\"{}\".format("},{"line_number":484,"context_line":"            \u0027 \u003c\u0027 + arg + \u0027\u003e \u0027) for arg in arguments]) + \"\\n\\n\")"},{"line_number":485,"context_line":"        in_para \u003d True"},{"line_number":486,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5da102_2757ddca","line":483,"updated":"2016-11-03 16:59:43.000000000","message":"the code here prints all the arguments in between angular braces \u0027\u003c..\u003e\u0027 which isn\u0027t the correct interpretation of swift python client\u0027s arguments. There are some optional position arguments that are represented in [\u003c...\u003e] format. \n\nPlease refer to https://review.openstack.org/#/c/366227/","commit_id":"7957162225cc5ada233ff0c0901e7aa02f998870"}]}
