def parse_vtrgb(path='<STR_LIT>'):
palette = ()<EOL>table = []<EOL>try:<EOL><INDENT>with open(path) as infile:<EOL><INDENT>for i, line in enumerate(infile):<EOL><INDENT>row = tuple(int(val) for val in line.split('<STR_LIT:U+002C>'))<EOL>table.append(row)<EOL>if i == <NUM_LIT:2>:  <EOL><INDENT>break<EOL><DEDENT><DEDENT><DEDENT>palette = tuple(zip(*table))  <EOL><DEDENT>except IOError as err:<EOL><INDENT>palette = color_tables.vga_palette4<EOL><DEDENT>return palette<EOL>
Parse the color table for the Linux console.