HomeClusterLabs Projects

Refactor: python: Clean up string handling in base.py.

Description

Refactor: python: Clean up string handling in base.py.

  • Reduce a weird boolean expression that always evaluated to the same string.
  • Use string substitutions instead of adding.
  • Don't use repr if we don't need it.

Details

Provenance
clumensAuthored on Apr 27 2023, 11:01 AM
Parents
rPec4825a75550: Refactor: python: Define CTSTest.name in __init__.
Branches
Unknown
Tags
Unknown