python append to list if not none

welcome to shbcf.ru