Merge lp:~gocept/landscape-client/py3-broker-amp-server into lp:~landscape/landscape-client/trunk
Proposed by
Steffen Allner
Status: | Merged |
---|---|
Merged at revision: | 981 |
Proposed branch: | lp:~gocept/landscape-client/py3-broker-amp-server |
Merge into: | lp:~landscape/landscape-client/trunk |
Prerequisite: | lp:~gocept/landscape-client/py3-broker-exchange |
Diff against target: |
43 lines (+5/-5) 3 files modified
landscape/broker/amp.py (+1/-1) landscape/broker/tests/test_server.py (+2/-2) py3_ready_tests (+2/-2) |
To merge this branch: | bzr merge lp:~gocept/landscape-client/py3-broker-amp-server |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Snow (community) | Approve | ||
Daniel Havlik (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Review via email:
|
Commit message
This is the port of landscape.
This involved adjusting to the change in dict.keys().
Description of the change
This MP contains the last fixes to the landscape.broker module in order to run it with python3.
First, we need a list in broker.amp to get a serialized version of the data, which does not work with dict_keys. Also the assertion dict_values([]) != [] breaks tests, so I adapted them to use the length for testing for an empty iterable.
To post a comment you must log in.
Command: TRIAL_ARGS=-j4 make check /ci.lscape. net/job/ latch-test- xenial/ 3784/
Result: Success
Revno: 976
Branch: lp:~gocept/landscape-client/py3-broker-amp-server
Jenkins: https:/