Commit 40fb635
authored
Feature: os_touch - Ensure that entire folder structure exists (#56)
* os_touch: Ensure that entire folder structure exists
This is done to avoid a crash when taking a ReadLock while reading a folder of objects.
* Moved os.makedirs to _lock of ReadLock and WriteLock1 parent d4da058 commit 40fb635
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
0 commit comments