def fetchAll(self): self.status = "fetching Updates..." self.sendNotification() fm.updateAll() #assign the newly fetched articles to the topics newList = fm.listNew() classifier.assignItemsToTopics(newList) print "Assigned the new articles to topics" #calculate the priority scores of the new articles for each topic. self.setNewItemScores() self.status = "All feeds updated." print self.status self.sendNotification()
def fetchAll(self): print "fetching Updates..." fm.updateAll() print "Calculating priority Scores" self.parent.setNewItemScores()