python assign value only if not none