(path)
| 465 | orig_isdir = os.path.isdir |
| 466 | |
| 467 | def fixed_isdir(path): |
| 468 | while os.path.islink(path): |
| 469 | try: |
| 470 | link = os.readlink(path) |
| 471 | except OSError: |
| 472 | break |
| 473 | path = os.path.abspath(os.path.join(os.path.dirname(path), link)) |
| 474 | return orig_isdir(path) |
| 475 | |
| 476 | os.path.isdir = fixed_isdir |
| 477 |
nothing calls this directly
no test coverage detected
searching dependent graphs…