nojhan/colout — pull request #16 by durka (2013-04-07 01:02:00+00:00)
Title: fix IndexError during lexer collection

I tried the 256 colors example in the README and got an error:

alex$ ./colout.py '/var/[a-z]+' 135
lexers.append(lexer[1][0])
IndexError: tuple index out of range

It seems some of the lexers are just empty tuples. I added a try/catch block around that line.