Merge lp:~sil2100/ubuntu-system-image/server-different_devices into lp:ubuntu-system-image/server
| Status: | Merged |
|---|---|
| Merged at revision: | 288 |
| Proposed branch: | lp:~sil2100/ubuntu-system-image/server-different_devices |
| Merge into: | lp:ubuntu-system-image/server |
| Diff against target: |
136 lines (+64/-15) 2 files modified
lib/systemimage/generators.py (+12/-3) lib/systemimage/tests/test_generators.py (+52/-12) |
| To merge this branch: | bzr merge lp:~sil2100/ubuntu-system-image/server-different_devices |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Barry Warsaw (community) | 2016-03-18 | Approve on 2016-03-21 | |
|
Review via email:
|
|||
Commit Message
Add an additional optional argument to the system-image generator to sync tarballs from different devices.
Description of the Change
Add an additional optional argument to the system-image generator to sync tarballs from different devices.
| Łukasz Zemczak (sil2100) wrote : | # |
Thanks for the comments Barry! Let me address those quickly. One of the reasons the self.assertIsNone() method is not used as I tend to try and keep the same code-style as it was originally used. So, a copy-paste since Stephane didn't use it in the original test code. Same for the private method I exported - it was a simple copy-paste in that case.
- 288. By Łukasz Zemczak on 2016-03-22
-
Use assertIsNone instead of what was already in the test-suite.
| Barry Warsaw (barry) wrote : | # |
On Mar 22, 2016, at 11:33 AM, Łukasz Zemczak wrote:
>Thanks for the comments Barry! Let me address those quickly. One of the
>reasons the self.assertIsNone() method is not used as I tend to try and keep
>the same code-style as it was originally used. So, a copy-paste since
>Stephane didn't use it in the original test code. Same for the private method
>I exported - it was a simple copy-paste in that case.
Gotcha. We should probably schedule some tech-debt reduction work. Might
make a good Foundations virtual sprint topic.

Comments inlined but otherwise LGTM.