another tiny simplification

Per: https://docs.python.org/2/library/functions.html#filter

filter(None, list) is equivalent to [item for item in iterable if item]