Merge lp://staging/~linaro-validation/lava-core/doanac-fixes into lp://staging/~zyga/lava-core/demo-3
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 25 |
Merged at revision: | 23 |
Proposed branch: | lp://staging/~linaro-validation/lava-core/doanac-fixes |
Merge into: | lp://staging/~zyga/lava-core/demo-3 |
Diff against target: |
90 lines (+22/-3) 4 files modified
history_demo.py (+1/-1) lava/core/controllers/devices/qemu.py (+1/-1) lava/core/utils.py (+18/-1) setup.py (+2/-0) |
To merge this branch: | bzr merge lp://staging/~linaro-validation/lava-core/doanac-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki | Approve | ||
Review via email: mp+106932@code.staging.launchpad.net |
Description of the change
Reproposing the branch against a better target so the diff makes some sense.
From the original proposal (https:/
zygmunt - not sure what you want to do with these, but here are some minro fixes I had to make to get things working for me.
To post a comment you must log in.
66 + def decompress(self, stream, suffix): name[:- len(suffix) -1] info("Uncompres sing %s with %s to %s", check_call( open(uncompress ed_name, 'w'))
67 + commands = { 'gz':'gunzip', 'bz2':'bunzip2' }
68 + command = commands[suffix]
69 + uncompressed_name = stream.
70 + self.logger.
71 + stream.name, command, uncompressed_name)
72 + subprocess.
73 + [command, '-c', stream.name], stdout=
74 + stream.name = uncompressed_name
As discussed on IRC, I'd prefer a pure python solution for reliability. I'll get this in and then rewrite it as things land to trunk. Thanks