def test(): nt.dirNameProxy.startDirObservers() cl = BtContentLoader() cl.go()
def _go(self): self.log.info("Checking Bt feeds for updates") fl = BtFeedLoader() fl.go() fl.closeDB() time.sleep(3) #print "wat", cl if not runStatus.run: return cl = BtContentLoader() if not runStatus.run: return todo = cl.retreiveTodoLinksFromDB() if not runStatus.run: return cl.processTodoLinks(todo) cl.closeDB()
def _go(self): self.log.info("Checking Bt feeds for updates") fl = BtFeedLoader() fl.go() fl.closeDB() time.sleep(3) # print "wat", cl if not runStatus.run: return cl = BtContentLoader() if not runStatus.run: return todo = cl.retreiveTodoLinksFromDB() if not runStatus.run: return cl.processTodoLinks(todo) cl.closeDB()