(exception: CycleFoundException)
| 215 | return table |
| 216 | |
| 217 | def _print_cycle_exception(exception: CycleFoundException): |
| 218 | print("ERROR: await-graph contains cycles - cannot print a tree!", file=sys.stderr) |
| 219 | print("", file=sys.stderr) |
| 220 | for c in exception.cycles: |
| 221 | inames = " → ".join(exception.id2name.get(tid, hex(tid)) for tid in c) |
| 222 | print(f"cycle: {inames}", file=sys.stderr) |
| 223 | |
| 224 | |
| 225 | def exit_with_permission_help_text(): |
no test coverage detected
searching dependent graphs…