HomeClusterLabs Projects

Refactor: python: Improve string substitutions in clustermanager.py.

Description

Refactor: python: Improve string substitutions in clustermanager.py.

  • Get rid of unnecessary parens that make single-item tuples.
  • Use %r instead of repr() where possible.
  • Use substitution strings instead of adding where possible.
  • Add extra spacing around % where there wasn't any before.

Details

Provenance
clumensAuthored on Jul 6 2023, 4:18 PM
Parents
rPc1794bc9966e: Refactor: python: Minor updates to clustermanager.py.
Branches
Unknown
Tags
Unknown