'Build a list of parent topics from self to root'

def get_topic_parents(self):

    (curr, parents) = (self, [])
    while curr.parent_topic:
        curr = curr.parent_topic
        parents.append(curr)
    return parents
