Merge lp:~gocept/landscape-client/py3-cleanup into lp:~landscape/landscape-client/trunk
Status: | Merged |
---|---|
Approved by: | Eric Snow |
Approved revision: | 1000 |
Merged at revision: | 1003 |
Proposed branch: | lp:~gocept/landscape-client/py3-cleanup |
Merge into: | lp:~landscape/landscape-client/trunk |
Diff against target: |
205 lines (+9/-46) 9 files modified
landscape/compat.py (+0/-26) landscape/lib/tests/test_fetch.py (+1/-1) landscape/manager/customgraph.py (+1/-2) landscape/manager/tests/test_aptsources.py (+0/-1) landscape/manager/tests/test_scriptexecution.py (+0/-3) landscape/package/facade.py (+5/-2) landscape/tests/clock.py (+0/-7) landscape/tests/test_deployment.py (+2/-2) landscape/user/tests/test_provider.py (+0/-2) |
To merge this branch: | bzr merge lp:~gocept/landscape-client/py3-cleanup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Snow (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Daniel Havlik (community) | Approve | ||
Review via email: mp+321976@code.launchpad.net |
Commit message
Cleanups related to landscape.compat (and lint).
This MP cleans up small residues from the port to Python 2/3 compatibility. It removes the unwanted coerce_unicode() helper method, which was replaced by individual solutions at the respective place of use. Furthermore unused imports have been removed and the usage (c)StringIO has been investigated, whether it could be replaced by a common io.{String,
Description of the change
This MP cleans up small residues from the port to Python 2/3 compatibility. It emoves the unwanted coerce_unicode() helper method, which was replaced by individual solutions at the respective place of use. Furthermore unused imports have been removed and the usage (c)StringIO has been investigated, whether it could be replaced by a common io.{String,
+1