)]}'
{"nova/compute/api.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d5b33f64db0dca82d7b5bf550583ef36f4a313aa","unresolved":false,"context_lines":[{"line_number":1288,"context_line":"        # Each device which is capable of being used as boot device should"},{"line_number":1289,"context_line":"        # be given a unique boot index, starting from 0 in ascending order, and"},{"line_number":1290,"context_line":"        # there needs to be at least one boot device."},{"line_number":1291,"context_line":"        if not boot_indexes or any(i !\u003d v for i, v in enumerate(boot_indexes)):"},{"line_number":1292,"context_line":"            # Convert the BlockDeviceMappingList to a list for repr details."},{"line_number":1293,"context_line":"            LOG.debug(\u0027Invalid block device mapping boot sequence for \u0027"},{"line_number":1294,"context_line":"                      \u0027instance: %s\u0027, list(block_device_mappings),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f6a8fd7_86bf74cf","line":1291,"range":{"start_line":1291,"start_character":31,"end_line":1291,"end_character":77},"updated":"2018-04-26 13:56:19.000000000","message":"or to go with stephenfin\u0027s suggestion\n\n boot_indexes !\u003d list(range(len(boot_indexes)))\n\ntbc, as a whole:\n\n if not boot_indexes or boot_indexes !\u003d list(range(len(boot_indexes))):","commit_id":"b8ea92010461c6c8634d47e60fc6f3988be1debb"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d7ec431b0a94df7ebe9c3899cbada136a32234c7","unresolved":false,"context_lines":[{"line_number":1288,"context_line":"        # Each device which is capable of being used as boot device should"},{"line_number":1289,"context_line":"        # be given a unique boot index, starting from 0 in ascending order, and"},{"line_number":1290,"context_line":"        # there needs to be at least one boot device."},{"line_number":1291,"context_line":"        if not boot_indexes or any(i !\u003d v for i, v in enumerate(boot_indexes)):"},{"line_number":1292,"context_line":"            # Convert the BlockDeviceMappingList to a list for repr details."},{"line_number":1293,"context_line":"            LOG.debug(\u0027Invalid block device mapping boot sequence for \u0027"},{"line_number":1294,"context_line":"                      \u0027instance: %s\u0027, list(block_device_mappings),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f6a8fd7_80775709","line":1291,"range":{"start_line":1291,"start_character":31,"end_line":1291,"end_character":77},"in_reply_to":"9f6a8fd7_6c26bfbd","updated":"2018-04-26 16:04:35.000000000","message":"Okey dokey.","commit_id":"b8ea92010461c6c8634d47e60fc6f3988be1debb"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"95838abbb25503a861843cae2dbe065f687fbad1","unresolved":false,"context_lines":[{"line_number":1288,"context_line":"        # Each device which is capable of being used as boot device should"},{"line_number":1289,"context_line":"        # be given a unique boot index, starting from 0 in ascending order, and"},{"line_number":1290,"context_line":"        # there needs to be at least one boot device."},{"line_number":1291,"context_line":"        if not boot_indexes or any(i !\u003d v for i, v in enumerate(boot_indexes)):"},{"line_number":1292,"context_line":"            # Convert the BlockDeviceMappingList to a list for repr details."},{"line_number":1293,"context_line":"            LOG.debug(\u0027Invalid block device mapping boot sequence for \u0027"},{"line_number":1294,"context_line":"                      \u0027instance: %s\u0027, list(block_device_mappings),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f6a8fd7_6c26bfbd","line":1291,"range":{"start_line":1291,"start_character":31,"end_line":1291,"end_character":77},"in_reply_to":"9f6a8fd7_86bf74cf","updated":"2018-04-26 14:56:51.000000000","message":"I find mdbooth\u0027s code easier to comprehend that list(range(len(...)))","commit_id":"b8ea92010461c6c8634d47e60fc6f3988be1debb"}]}
