Commit 71f9b8a
committed
Fix an issue introduced back in 2.18.0 around more flexible env types
This commit fixes an issue when passing in a mapping which is not an
actual dict as an environment argument. Internally, AsyncSSH uses a
read-only MappingProxyType in places which can trigger this problem
if an env from one session is used when starting another. Thanks go
to Boris Pavlovic for reporting this issue!1 parent bf9e1f7 commit 71f9b8a
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4169 | 4169 | | |
4170 | 4170 | | |
4171 | 4171 | | |
4172 | | - | |
| 4172 | + | |
4173 | 4173 | | |
4174 | 4174 | | |
4175 | 4175 | | |
| |||
5687 | 5687 | | |
5688 | 5688 | | |
5689 | 5689 | | |
5690 | | - | |
| 5690 | + | |
5691 | 5691 | | |
5692 | 5692 | | |
5693 | 5693 | | |
| |||
8042 | 8042 | | |
8043 | 8043 | | |
8044 | 8044 | | |
8045 | | - | |
| 8045 | + | |
8046 | 8046 | | |
8047 | 8047 | | |
8048 | 8048 | | |
| |||
8115 | 8115 | | |
8116 | 8116 | | |
8117 | 8117 | | |
8118 | | - | |
| 8118 | + | |
| 8119 | + | |
8119 | 8120 | | |
8120 | 8121 | | |
8121 | 8122 | | |
| |||
8354 | 8355 | | |
8355 | 8356 | | |
8356 | 8357 | | |
8357 | | - | |
| 8358 | + | |
| 8359 | + | |
8358 | 8360 | | |
8359 | 8361 | | |
8360 | 8362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments