def run(self): while not calling(self.f, self.sha): time.sleep(5)
def run_thread(threadname, f, sha): while not calling(f,sha): time.sleep(5) file = open(LOG_PATH + sha + '/fin.log', "wr+") file.close() thread.interrupt_main()
def run_thread(threadname, f, sha): while not calling(f,sha): time.sleep(5) file = open("/home/zozanh/env/djcode/thesis/static/data/" + sha + '/fin.log', "wr+") file.close() thread.interrupt_main()
def run_thread(threadname, f, sha): while not calling(f, sha): time.sleep(5) file = open(LOG_PATH + sha + '/fin.log', "wr+") file.close() thread.interrupt_main()