Commit 256c5b0
committed
fix: handle OSError from getpass.getuser on Python 3.13+
Python 3.13 changed getpass.getuser() to raise OSError instead
of KeyError when the UID has no matching username entry (e.g.
in containers with numeric UIDs). Catch both for compatibility.1 parent 1aa9cfc commit 256c5b0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments