Commit b5fbf81
committed
[nrf noup] Fix generate zap sript on windows
Usage of generate.py script is not possible on windows
due to fcntl package available onlu on unix pyhton packages
using I/O control on descriptor file is not needed on windows.
This change enhance script to use fcntl on non-window system.1 parent d6ddd68 commit b5fbf81
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
287 | 294 | | |
288 | 295 | | |
289 | 296 | | |
290 | | - | |
| 297 | + | |
| 298 | + | |
291 | 299 | | |
292 | | - | |
293 | 300 | | |
294 | 301 | | |
295 | 302 | | |
| 303 | + | |
296 | 304 | | |
297 | | - | |
| 305 | + | |
| 306 | + | |
298 | 307 | | |
299 | | - | |
300 | 308 | | |
301 | 309 | | |
302 | 310 | | |
| |||
0 commit comments