HomeClusterLabs Projects

Refactor: CTS: Minor fixes in fence_dummy.

Description

Refactor: CTS: Minor fixes in fence_dummy.

  • Get rid of an unnecessary str() call.
  • Get rid of extra pound signs in comments.
  • Break long lines before operators instead of after.
  • Add whitespace around operators.
  • Use 'with' instead of a try/except block.
  • Un-indent return statements that don't need to be in an else clause.

Details

Provenance
clumensAuthored on May 22 2024, 10:23 AM
Parents
rPcd6f3b430854: Refactor: CTS: Clean up record and tuple handling in fence_dummy.in.
Branches
Unknown
Tags
Unknown