Commit 99bb97b
authored
eds: Fix exception in comment parsing with hexadecimal line count. (#279)
Inside an EDS file's [Comments] section, the Lines attribute may be
expressed as a hexadecimal number prefixed with 0x. The
ConfigParser.getint() method however does not support such a format.
Switch to the default int() constructor with a base=0 argument to
enable auto-detection of this condition. The same is done for
basically every other numeric value in the EDS importer.1 parent 1ea906d commit 99bb97b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments