HomeClusterLabs Projects

Refactor: python: Unindent a bunch of code blocks.

Description

Refactor: python: Unindent a bunch of code blocks.

I didn't do them all, only the ones that seem to benefit most from this
change. Basically, invert the test condition and continue/return. Then
un-indent everything that was previously indented under the original
condition.

This transformation could probably be performed on a lot of other code.
I've not been very consistent on making this change.

Details

Provenance
clumensAuthored on Jul 6 2023, 4:41 PM
Parents
rP2021affe74ac: Refactor: python: HasQuorum should return a boolean.
Branches
Unknown
Tags
Unknown