(path)
| 243 | |
| 244 | |
| 245 | def ensure_dir(path): |
| 246 | if not os.path.isdir(path): |
| 247 | try: |
| 248 | sleeptime = random.randint(0, 3) |
| 249 | time.sleep(sleeptime) |
| 250 | os.makedirs(path) |
| 251 | except: |
| 252 | print("conflict !!!") |
| 253 | |
| 254 | |
| 255 | def _dbg_interactive(var, value): |
no outgoing calls