HomeClusterLabs Projects

Refactor: python: Simplify various format string.

Description

Refactor: python: Simplify various format string.

  • Use %r instead of repr().
  • Use %s instead of adding.
  • Use format strings instead of adding and calling ljust/rjust. I think this is more readable, even if it's still not great.

Details

Provenance
clumensAuthored on Jun 22 2023, 4:12 PM
Parents
rP5edd0f633bc8: Refactor: python: Use booleans instead of 1/0 where possible.
Branches
Unknown
Tags
Unknown