--- a/Project/LexerAssociationDialog.py Thu Mar 09 19:28:59 2017 +0100 +++ b/Project/LexerAssociationDialog.py Fri Mar 10 17:32:19 2017 +0100 @@ -57,7 +57,7 @@ lang) from pygments.lexers import get_all_lexers - pygmentsLexers = [''] + sorted([l[0] for l in get_all_lexers()]) + pygmentsLexers = [''] + sorted(l[0] for l in get_all_lexers()) self.pygmentsLexerCombo.addItems(pygmentsLexers) # set initial values