Merge lp:~lool/linaro-image-tools/no-size-suffix into lp:linaro-image-tools/11.11
Proposed by
Loïc Minier
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Mattias Backman | ||||
Approved revision: | 338 | ||||
Merged at revision: | 337 | ||||
Proposed branch: | lp:~lool/linaro-image-tools/no-size-suffix | ||||
Merge into: | lp:linaro-image-tools/11.11 | ||||
Diff against target: |
26 lines (+6/-0) 2 files modified
linaro_image_tools/media_create/partitions.py (+3/-0) linaro_image_tools/media_create/tests/test_media_create.py (+3/-0) |
||||
To merge this branch: | bzr merge lp:~lool/linaro-image-tools/no-size-suffix | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mattias Backman (community) | Approve | ||
Review via email: mp+60183@code.launchpad.net |
Description of the change
Fixes support for --image_size without any unit specification
Suggestions on nicer constructs than ord() and int() welcome!
To post a comment you must log in.
Can you do this for the same effect?
if unit in '0123456789':