Allow empty lines in Snowball startfiles.cfg
Bug #797135 reported by
Mattias Backman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Low
|
Mattias Backman |
Bug Description
The startfiles.cfg parsing does not allow empty lines which is a problem since execution breaks when a user has for instance left a trailing empty line.
The affected code is in boards.py in the get_file_info(cls, bin_dir) function.
Related branches
lp:~mabac/linaro-image-tools/bug-797135-snowball-whitespace
- Guilherme Salgado (community): Approve
-
Diff: 26 lines (+5/-0)2 files modifiedlinaro_image_tools/media_create/boards.py (+3/-0)
linaro_image_tools/media_create/tests/test_media_create.py (+2/-0)
Changed in linaro-image-tools: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
An idea for the possible solution is attached.