'Returns dependencies in self that are not in other.'

def dep_difference(self, other):

    mine = set((s.name for s in self.traverse(root=False)))
    mine.difference_update((s.name for s in other.traverse(root=False)))
    return mine
