Beispiel #1
0
 def getChildren(self):
     # myRec = self.getRecord()
     if self._children is None:
         self._children = SortedValuesDict()
         for tabData in self.topics:
             try:
                 topicData = TopicData(tabData.data_path, tabData.num)
             except NoTopPickDataError:
                 print "No Data Found in %s" % tabData.data_path
                 continue
             topic = Topic(topicData)
             topicId = topic.getId()
             self._children[topicId] = topic
             print 'made topic', topicId
     return self._children