)]}'
{"ceilometerclient/shell.py":[{"author":{"_account_id":6676,"name":"zqfan","email":"aji.zqfan@gmail.com","username":"aji-zqfan"},"change_message_id":"3a0855045bd601c4ec61b5c1f4c9cb82db37c695","unresolved":false,"context_lines":[{"line_number":324,"context_line":"    def __init__(self, prog, indent_increment\u003d2, max_help_position\u003d30,"},{"line_number":325,"context_line":"                 width\u003dNone):"},{"line_number":326,"context_line":"        super(HelpFormatter, self).__init__(prog, indent_increment,"},{"line_number":327,"context_line":"              max_help_position, width)"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"    def start_section(self, heading):"},{"line_number":330,"context_line":"        # Title-case the headings"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_f2e38ed6","line":327,"updated":"2014-06-05 02:00:34.000000000","message":"-1: indent max_help align to prog","commit_id":"72ef18c792e89e680d3e2a99ef952f68bda031ed"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"34504228f6d602291dae3f871da292b8e10c9651","unresolved":false,"context_lines":[{"line_number":321,"context_line":""},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"class HelpFormatter(argparse.HelpFormatter):"},{"line_number":324,"context_line":"    def __init__(self, prog, indent_increment\u003d2, max_help_position\u003d30,"},{"line_number":325,"context_line":"                 width\u003dNone):"},{"line_number":326,"context_line":"        super(HelpFormatter, self).__init__(prog, indent_increment,"},{"line_number":327,"context_line":"                                            max_help_position, width)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_5ba42807","line":324,"updated":"2014-06-06 11:27:21.000000000","message":"It\u0027s unfortunate that the value for max_help_position can\u0027t be calculated from the list of available commands. Otherwise the next person to come along with a long command has to check this.\n\nAnyway to do that?","commit_id":"eb85bdad24030719f1b62b59402526f916552352"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"439c120a046a38ae73cd209bc47ee56e42af724a","unresolved":false,"context_lines":[{"line_number":399,"context_line":"    def add_arguments(self, actions):"},{"line_number":400,"context_line":"        for action in filter(lambda x: not x.option_strings, actions):"},{"line_number":401,"context_line":"            for choice in action.choices:"},{"line_number":402,"context_line":"                if(len(choice) + 6 \u003e self._max_help_position and"},{"line_number":403,"context_line":"                   len(choice) + 6 \u003c\u003d 32):"},{"line_number":404,"context_line":"                    self._max_help_position \u003d len(choice) + 6"},{"line_number":405,"context_line":"        super(HelpFormatter, self).add_arguments(actions)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_9b13bd0c","line":402,"updated":"2014-07-02 11:39:18.000000000","message":"Is it worth assigning \u0027len(choice) + 6\u0027 to a variable since it is used three times in the loop. Might be a bit tidier.","commit_id":"241138d3ae3daf321d280a2b6833a63ded1233bd"}]}
