You don't need to specify None for a get(). If you default to an empty list, you can skip the if below.