HomePhabricator
Diffusion Cumin 6323e7414975

Fix the -o/--output option (bytes->str conversion)

Description

Fix the -o/--output option (bytes->str conversion)

  • The migration to Python3 left the -o/--output option of the CLI with some decoding issue from bytes to string.
  • Uniforming all calls to bytes.decode() to avoid to specify the encoding as utf-8 is the default in Python 3.
  • Add integration tests for the -o/--output option.

Bug: T200622
Change-Id: I3d7025e8bc3e0f15d814b4e38c01459297329b90

Details

Provenance
VolansAuthored on Jul 30 2018, 7:25 AM
Parents
rCUMINc982c6119b41: CLI: fix setup_logging() when without path
Branches
Unknown
Tags
Unknown
ChangeId
I3d7025e8bc3e0f15d814b4e38c01459297329b90