Commit 93cae4a
Jincheng
Fix: Use os.readlink instead of Path.readlink before Python 3.9.
`Path.readlink` is not available before Python 3.9, which is causing the tool to complain in a project I'm working on. This code was implemented as `os.readlink()` before rules_python was introduced (per 0e5b1aa), but didn't seem to be reverted when rules_python was reverted.
Verified locally that this fixes the issue for me.1 parent 33658ba commit 93cae4a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1305 | 1305 | | |
1306 | 1306 | | |
1307 | 1307 | | |
1308 | | - | |
| 1308 | + | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
| |||
0 commit comments