Ejemplo n.º 1
0
    def _go(self):

        self.log.info("Checking Mk feeds for updates")
        fl = MkFeedLoader()
        fl.go()
        fl.closeDB()

        time.sleep(3)
        #print "wat", cl

        if not runStatus.run:
            return

        cl = MkContentLoader()

        if not runStatus.run:
            return

        todo = cl.retreiveTodoLinksFromDB()

        if not runStatus.run:
            return

        cl.processTodoLinks(todo)
        cl.closeDB()
Ejemplo n.º 2
0
	def _go(self):

		self.log.info("Checking Mk feeds for updates")
		fl = MkFeedLoader()
		fl.go()
		fl.closeDB()

		time.sleep(3)
		#print "wat", cl

		if not runStatus.run:
			return

		cl = MkContentLoader()

		if not runStatus.run:
			return

		todo = cl.retreiveTodoLinksFromDB()

		if not runStatus.run:
			return

		cl.processTodoLinks(todo)
		cl.closeDB()