Commit d238e03f by Pavel Yushchenko

remove cast to list

parent 0de09846
......@@ -315,7 +315,7 @@ class OptionInput(InputTypeBase):
lexer.whitespace = ", "
# remove quotes
tokens = [x[1:-1].decode('utf8') for x in list(lexer)]
tokens = [x[1:-1].decode('utf8') for x in lexer]
# make list of (option_id, option_description), with description=id
return [(t, t) for t in tokens]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment