(self, fpath, timeout=60)
| 536 | time.sleep(0.1) |
| 537 | |
| 538 | def await_file(self, fpath, timeout=60): |
| 539 | try_until = time.time() + timeout |
| 540 | while True: |
| 541 | if time.time() >= try_until: |
| 542 | return False |
| 543 | if os.path.isfile(fpath): |
| 544 | return True |
| 545 | time.sleep(0.1) |
| 546 | |
| 547 | def check_file_permissions(self, domain): |
| 548 | dpath = os.path.join(self.store_dir, 'domains', domain) |
no outgoing calls