#break # make sure to rebuild our link task if obj.m_linktask is re-run try: lst = htbl[self.m_linktask.m_outputs[0]] for a in obj.m_linktask: if not a in lst: lst.append(a) except: htbl[self.m_linktask.m_outputs[0]] = obj.m_linktask.m_outputs # do not continue on all objects, we have found the interesting one break