~fginther/landscape-client/fix-missing-install-dirs

Viewing all changes in revision 1003.

  • Committer: 🤖 Landscape Builder
  • Author(s): Steffen Allner
  • Date: 2017-04-05 15:59:20 UTC
  • mfrom: (997.2.3 py3-cleanup)
  • Revision ID: _landscape_builder-20170405155920-ffx0c6wpxo26i9xd
Merge py3-cleanup [f=] [r=ericsnowcurrently,landscape-builder,nilo] [a=Gocept]
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,Bytes}IO() call in Python 2 and 3. This was often not the case, as this was also connected with the logging setup in the tests, which should not be addressed here.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: