This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Commit 4712f8a
Michal Novotny
Fix CPU Pinning check for pinning string ending with comma
When you provided CPU pinning string that was ending with comma an
uncaught exception occured of ValueError about invalid literal for
int() with base 10 because of empty string passed to int() function.
This patch fixes the lines ending with comma, lines like "1," and
corrects this to correct CPU pinning string, ie. "1".1 parent dae0dc2 commit 4712f8a
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
201 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
202 | 204 | | |
203 | 205 | | |
204 | 206 | | |
| |||
0 commit comments