Commit 14cdf29
authored
Fix nonsense error messages in shutil.py
Attempting to copy a file onto a symlink to itself previously gave the error
```
shutil.Error: ['<', 'D', 'i', 'r', 'E', 'n', 't', 'r', 'y', ' ', "'", 's', 't', 'y', 'l', 'e', '.', 'c', 's', 's', "'", '>', ' ', 'a', 'n', 'd', ' ', "'", 'b', 'u', 'i', 'l', 'd', '/', 'h', 't', 'm', 'l', '/', 's', 't', 'y', 'l', 'e', '.', 'c', 's', 's', "'", ' ', 'a', 'r', 'e', ' ', 't', 'h', 'e', ' ', 's', 'a', 'm', 'e', ' ', 'f', 'i', 'l', 'e']
```1 parent 3adb23a commit 14cdf29
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | | - | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
504 | 508 | | |
505 | 509 | | |
506 | 510 | | |
| |||
0 commit comments